Commit Graph

3419 Commits

Author SHA1 Message Date
timhypeng
da9a2a1891 Add new sample rate dialog layout for new Bluetooth developer option
- new reminder information

Bug: 142227996
Test: manual
Change-Id: I0abebba4fd9ed1a4fa7797385e359f34b3294d3a
2019-11-19 16:03:09 +08:00
tim peng
1d07f6e970 Merge "Battery icon is too large" 2019-11-15 05:22:47 +00:00
timhypeng
c71f996da9 Battery icon is too large
-sync layout from SystemUI

Bug: 141139595
Test: make -j42 RunSettingsRoboTests
Change-Id: I5e165e953682fcfdebf0d06475bb1abd171684d9
2019-11-14 10:55:54 +08:00
Raff Tsai
988a912237 Modify preference_list_fragment to support tabLayout
- Remove buttonBar because it is only used in PublicVolumeSettings
- Add tabLayout in preference_list_fragment.xml

Bug: 141601408
Test: manual
Change-Id: Ieb84ccf2e685a03abec7b07cb8f9f4b64ee475e0
2019-11-13 17:37:59 +08:00
Raff Tsai
72a65094fc change screen pinning settings UI
Fixes: 144306573
Test: manual
Change-Id: I7c80a17f90ed84e7245fe26c985aa3fe2e71cc8d
2019-11-12 11:33:51 +08:00
TreeHugger Robot
9aded56b70 Merge "Remove duplicate layout mobile_network_settings_container_v2" 2019-11-08 08:22:15 +00:00
Raff Tsai
8fe35bff52 Remove duplicate layout mobile_network_settings_container_v2
- MobileNetworkActivity can use settings_base_layout.xml as layout.
- MobileNetworkActivity need to use Theme.Settings.Home because
it requests Window.FEATURE_NO_TITLE. Otherwise MobileNetworkActivity
will show title defined in xml first then change to new title.

Fixes: 123794771
Test: rebuild, manual
Change-Id: I39ae25b6d335437ffddb2f1562e7a0347db97108
2019-11-08 12:04:16 +08:00
Raff Tsai
f5277ba54a Modify account page multiple profile UI
- Extend the tab width to 50%
- Hide category title in two tab mode

Bug: 141601408
Test: manual
Change-Id: I73a1a64c704f7a74c200803efef97cdac5534aa7
2019-11-07 14:53:54 +08:00
TreeHugger Robot
07e39a6246 Merge "Remove mobile network v1" 2019-11-06 05:01:41 +00:00
Stanley Wang
59b709bccb Merge "Fix a11y issue, the description of navigation buttons should be the same." 2019-11-06 03:31:41 +00:00
Raff Tsai
1eccd55a70 Remove mobile network v1
Fixes: 142920912
Test: rebuild, robolectric
Change-Id: Ib365ba712af62729ca35abbc370aef087ce52a90
2019-11-05 17:54:54 +08:00
Stanley Wang
be82622922 Fix a11y issue, the description of navigation buttons should be the same.
Change the description of navigation button to "Back".

Test: manual
Fixes: 139650858
Change-Id: I8729129b769e98b7a2fbaa6aa24cebcedc8d720b
2019-11-05 10:59:00 +08:00
Raff Tsai
29c15273b5 Fix Weird floating "add language" item
- Base theme has android:clipToPadding=false attribute. It let user
UI draw under navigation bar but also cause this problem. Add
android:clipToPadding=true in layout to fix the problem.

Fixes: 142108980
Test: manual
Change-Id: Ibe60b348a3c7c01d9786612ceac23a47a78a208a
2019-11-04 17:34:02 +08:00
TreeHugger Robot
5f1a837af5 Merge "Add work/personal profile tab for storage page" 2019-10-25 11:02:01 +00:00
Alex Johnston
8ec3dbe1ea Merge "Added a warning dialog when installing a CA certificate" 2019-10-25 09:34:41 +00:00
Raff Tsai
539ab8ace4 Add work/personal profile tab for storage page
- Add ProfileSelectStorageFragment
- Check featureFlag in SecondaryUserController to decide show/hide
workprofile item StorageDashboardFragment

Bug: 141601408
Test: manual
Change-Id: I97762d3b1a4985e2b186b34fc37c7976c2f69224
2019-10-25 16:57:24 +08:00
Raff Tsai
52ee4888be Modify Running Services layout
- Also remove some unused resource

Fixes: 139911198
Test: manual
Change-Id: I70447255df822c5b2a940ecbc3f2fa27707c660b
Screenshot: https://screenshot.googleplex.com/jBEdhunufTb
2019-10-25 10:42:35 +08:00
Alex Johnston
c0c75a3e96 Added a warning dialog when installing a CA certificate
This is part of the changes to improve the UX and language for installing certificates.
Previously, the different types of certificate used the same installation flow.
Due to concerns around users installing CA certificates without understanding the conseqences,
this CL introduces a new warning dialog when a CA certificate is installed from settings.

Bug: 139173976
Test: Atest com.android.settings.security
      manual testing from Settings by selecting the certificate type
	preference and ensuring the installation flow still worked as expected.

Screenshot of the screen: https://hsv.googleplex.com/5046848484016128

Change-Id: If95bffd1e68f14734fb20e8cc4b60eeb1c372358
2019-10-24 15:25:52 +01:00
Bonian Chen
3b8d0faeed [Settings] Remove unused SimPreferenceDialog
Remove unused SimPreferenceDialog

Bug: 143018062
Test: build pass
Change-Id: Ia1b9d64a7956c8fe326d7df7635c7910cfd09951
2019-10-20 22:56:32 +08:00
Anamika Singh
d2cbfa2dee Merge "Move Emergency call button" am: 2501f6e268 am: 251411674b am: 32f4f10d4a
am: c455762580

Change-Id: I70e9fd65f94257d7ab2a254a8b2d703df5e2031b
2019-10-18 02:08:58 -07:00
Anamika Singh
c455762580 Merge "Move Emergency call button" am: 2501f6e268 am: 251411674b
am: 32f4f10d4a

Change-Id: I5457a7f278db3a87a22696d0a698a5aaf861e148
2019-10-18 02:01:54 -07:00
Anamika Singh
251411674b Merge "Move Emergency call button"
am: 2501f6e268

Change-Id: Ie687f4b03f7ebf572057dca6678ac4d70666f76f
2019-10-18 01:49:54 -07:00
Treehugger Robot
2501f6e268 Merge "Move Emergency call button" 2019-10-18 08:37:39 +00:00
govenliu
116060e011 [Wi-Fi] [a11y] The "Advanced options" should be accessible by Voice Access and pronounced by talkback correctly.
The checkbox is unclickable via Accessibility.

Solution: Refine the solution of b/30079196 to let checkbox be focusable and clickable by Accessibility, and remove unnecessary Accessibility pronunciation strings.

Bug: 141588638
Bug: 141588161
Test: Add unit test to check the content description of the checkbox.
Change-Id: I2e7932f64ae29a13b793276eab6705009af20104
2019-10-17 17:10:17 +08:00
Raff Tsai
65866290ce Add tablayout for work/personal profile
- Add Tablayout in ProfileSelectFragment
- Add AccountWorkProfileDashboardFragment inherited from
ProfileSelectFragment
- Add ProfileFragmentBridge to convert AccountDashboardFragment
to AccountProfileSelectFragment
- Use flag settings_work_profile to guard the new fragment

Bug: 141601408
Test: Settings->developer options->feature flags->
turn settings_work_profile on/off, then go to settings->account
to see if UI is changed.

Change-Id: Ifb32c22cdeab69c51517664081cacf4a401c46a1
2019-10-15 18:01:08 +08:00
Anamika Singh
a6f03fd0db Move Emergency call button
This is google issue because in Q DecorView (base of CryptKeeper view)
has added Navigation bar forcefully due to which Emergency call button
was hidden on CryptKeeper view.
Made changes to shift ECC button above navigation bar.
Hence it will show just below CryptKeeper password entry view pattern/pin/password).

Bug: 142626673
Test: Manual

Change-Id: If60fad3936bc67adcf26019bdf16975b5706be83
2019-10-14 07:20:15 +00:00
Arc Wang
ccf9715464 Merge "[A11Y] Improve data usage chart TalkBack content" 2019-10-09 07:17:24 +00:00
Arc Wang
351ee3a882 [A11Y] Improve data usage chart TalkBack content
1. Set null content description for all labels of the chart.
2. Set 2 parts in the content description of the chart:
  I.  Brief description of the chart.
  II. Stats of the data usage.

Bug: 141093026
Test: ChartDataUsagePreferenceTest
      Manually listen to TalkBack speaking
Change-Id: I82cefd9987793f40a5bba5bf3ea5f4017da37640
2019-10-09 10:20:15 +08:00
Bonian Chen
c625f62122 Merge "[RadioInfo] Remove from Settings (into Telephony)" 2019-10-08 10:20:34 +00:00
Bonian Chen
b7633cc59d [RadioInfo] Remove from Settings (into Telephony)
Moving RadioInfo and BandMode to Telephony app.

Bug: 123598192
Test: Manual test
Change-Id: Id62a2bf4b2c44efcd48319734d1cab6ed969ee06
2019-10-08 06:49:18 +00:00
Julia Reynolds
4c1bfdfe73 Merge "Handle multi-user in notif log" 2019-10-07 13:15:16 +00:00
Bonian Chen
ae14e82c96 Merge "[Settings UX] Enlarge data usage clickable area" 2019-10-05 06:58:46 +00:00
Mill Chen
9915b14914 Merge "Fix overlapping in TrustedCredentialsSettings" 2019-10-04 10:26:56 +00:00
Bonian Chen
779abebc63 [Settings UX] Enlarge data usage clickable area
Orignal clickable area within data usage editor is too small.
Enlarge it through changing the configuration of layout.

Bug: 131268240
Test: manual testing following the steps provided in issue.
Change-Id: I2cb8dba635ec0bd74c837c2425895ff39ceed13c
2019-10-04 17:11:23 +08:00
Raff Tsai
c303894040 Merge "Fix talkback issue" 2019-10-04 08:05:51 +00:00
Raff Tsai
6ff13962a3 Fix talkback issue
Fixes: 141226569
Test: manual
Change-Id: I631554ab33d6cc77f3d3f2e4625d359a802dd5b5
2019-10-04 11:59:56 +08:00
Jay Aliomer
aed74bf543 Talkback speaking for the notification option should be consistent
Because the "Silent" button uses RelativeLayout with getAccessibilityClassName not returning "Button", we use the NotificationButtonRelativeLayout which does that instead
Fix: 141348514
Test: manual testing. see bug report
Change-Id: Ic1c329ae1ad97aed45dc488ee7260d0081211784
2019-10-03 14:42:29 -04:00
Julia Reynolds
7e7271fff8 Handle multi-user in notif log
Test: manual
Fixes: 141575553
Change-Id: I03ff85358e8ae6ed5e6699358c4f9c785c416ecf
2019-10-03 11:50:12 -04:00
Mill Chen
cd869051ef Fix overlapping in TrustedCredentialsSettings
It's a side effect caused by making scrollView extend below navbar.
Set both of clipToPadding and clipChildren true to fix overlapping.

Fixes: 138962899
Test: visual
Change-Id: Icf696a151055d4be76cafe44d5cb95b67bc2ea9f
2019-10-03 00:00:45 +08:00
Arc Wang
1fa97eca18 Merge "[Wi-Fi] Improve UX when there is no user certificate to choose for WPA-Enterprise 192-bit" 2019-10-01 08:34:05 +00:00
Raff Tsai
360d2f2c6f Fine tune language UI to match preference style
Fixes: 141830486
Test: visual
Screenshot: https://screenshot.googleplex.com/LVv2W9D963s
Screenshot: https://screenshot.googleplex.com/VbJQ0cSPBKK
Change-Id: I44b0ac8ac2bd32b3beeabee195aab928ec4bacc2
2019-09-30 11:17:04 +08:00
Yi-Ling Chuang
fe790ec76d Merge "Enable dismissal feature on legacy suggestions." am: ee39335edc am: 8d8c3e19b5 am: b26711944b
am: 3b8a14e86f

Change-Id: I97bcdc54f908db6f5895d99f284ee24fb4015433
2019-09-22 20:23:28 -07:00
Yi-Ling Chuang
3b8a14e86f Merge "Enable dismissal feature on legacy suggestions." am: ee39335edc am: 8d8c3e19b5
am: b26711944b

Change-Id: I0edf1eff42cf54e644e60a11ba97219c38891e93
2019-09-22 20:16:25 -07:00
Yi-Ling Chuang
8d8c3e19b5 Merge "Enable dismissal feature on legacy suggestions."
am: ee39335edc

Change-Id: Ibce2403de032bd3d7fce750f6cd80191a8b14441
2019-09-22 20:03:21 -07:00
Arc Wang
44fa9d579d [Wi-Fi] Improve UX when there is no user certificate to choose for WPA-Enterprise 192-bit
Show error message when a user does not specify a user certificate
for WPA3-Enterprise 192-bit.

Bug: 138417816
Test: visual
Change-Id: Ifc519d484dbf78dad37ad7047e8b9bb40685d54c
2019-09-23 09:39:20 +08:00
Yi-Ling Chuang
83ac0efd81 Enable dismissal feature on legacy suggestions.
Add back the close button for legacy suggestions.

Fixes: 140786274
Test: robotest
Change-Id: Iaf0376bd482db4c4ff7d04a68131071c29c01ced
2019-09-20 18:03:10 -07:00
TreeHugger Robot
0aec85c8c1 Merge "Update notification log" 2019-09-20 14:24:24 +00:00
Goven Liu
fcfff7a7f3 Merge "[Wi-Fi] Cannot connect to hidden WiFi network." 2019-09-20 04:17:23 +00:00
Kevin Chang
ddc8440aad Merge "Change disable accessibility service dialog layout" 2019-09-20 02:14:26 +00:00
hughchen
932d156aca Change text size of header title in advanced bluetooth
1. change the text size of header title
2. Set gravity of header title as "center"

Bug: 138633953
Test: manually
Change-Id: I358c6a10e3cb97b46c3b8f6d50f7046414ddfb13
2019-09-19 16:57:14 +08:00