Commit Graph

83796 Commits

Author SHA1 Message Date
Edgar Wang
ad973331ea Move Power menu from Gesture to System Settings
- Add icon for Power menu
- Remove from Gesture Settings
- Add to System Settings

Bug: 168176408
Test: manual
Change-Id: Ie7d5530d7e4e32a6db5ce43717131018944bbe28
2021-06-08 17:22:43 +00:00
Weng Su
8c29ff0a27 [Provider Model] Fix the panel non responsive issue
Bug: 187340277
Test: manual test
atest -c ProviderModelSliceTest

Change-Id: Ie27a5049b2cab05b7c7936395d0db85c3c594d96
2021-06-09 00:35:53 +08:00
menghanli
e771cbb1aa Add AccessibilityShortcutPreferenceFragment to share non-accesibility tools to add shortcut
Bug: 190022774
Test: make RunSettingsRoboTests -j52 ROBOTEST_FILTER=AccessibilityShortcutPreferenceFragmentTest
Change-Id: I1cae8fbed059ba7c309126e2dff46adfb48cffd8
2021-06-08 22:58:05 +08:00
YUKAI HUNG
dce903863e Merge "Remove BatteryTipPolicyTest first to avoid blocking presubmit" into sc-dev am: f7b90c3a7f am: 2cf56db2a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880237

Change-Id: I0121183c2ea453b3dd8cf538488983d78b617665
2021-06-08 14:12:14 +00:00
YUKAI HUNG
982a0d906b Merge "Remove BatteryTipPolicyTest first to avoid blocking presubmit" into sc-dev am: f7b90c3a7f am: 6c971a8a99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880237

Change-Id: I8ba952a04dc2e327fb2309f9adc0aed24a806a4c
2021-06-08 14:11:10 +00:00
YUKAI HUNG
6c971a8a99 Merge "Remove BatteryTipPolicyTest first to avoid blocking presubmit" into sc-dev am: f7b90c3a7f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880237

Change-Id: I13b27a08eaf329121524220071d2cec3e5be8684
2021-06-08 13:53:10 +00:00
YUKAI HUNG
2cf56db2a2 Merge "Remove BatteryTipPolicyTest first to avoid blocking presubmit" into sc-dev am: f7b90c3a7f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880237

Change-Id: I60f676042c197acb6744ec547e9629b960e5eddd
2021-06-08 13:51:43 +00:00
YUKAI HUNG
f7b90c3a7f Merge "Remove BatteryTipPolicyTest first to avoid blocking presubmit" into sc-dev 2021-06-08 13:42:04 +00:00
Stanley Wang
fab609f892 Fix the problem of the TalkBack function can not be turned on.
- Check the states of the switch and the accessibility service.
  If the states are different, update the state of accessibility
  service.

Fix: 190309601
Test: robotest and test the TalkBack manually.
Change-Id: Id8c28223b1958087e7cdc481348487376afa2203
2021-06-08 20:34:55 +08:00
Tsung-Mao Fang
11c4b2c51e Remove the large space when searching region list
Collapse the tool bar when we're doing search for
a better user experience.
And we don't allow user can expand the tool bar at this moment
since it will see a large space at this moment.

Fix: 181741353
Test: Open the page and don't see a huge space now.
Change-Id: Iec5ebe9b22a2aad15dc8cf90113a64c358ee447e
2021-06-08 11:44:38 +00:00
ykhung
ae1797ec46 Remove BatteryTipPolicyTest first to avoid blocking presubmit
Bug: 190150515
Test: make SettingsGoogleRoboTests
Change-Id: If97e0853d7904919f54f4c4b970380f6fb40efc6
2021-06-08 19:04:55 +08:00
Yi-Ling Chuang
4d7da4a425 Remove FLAG_ACTIVITY_NEW_TASk when there is transition
Making activities launch in a separate task breaks the page transition.
Reviewed the history of the addition of these flags, they seem stale and
are no longer needed, so remove these when the transition is applied.

Bug: 189412031
Test: Tap on any badged entry and see it being launched in the same
task.

Change-Id: I60b2ec0b2772cd3bdc8c4ebbc83cedd2a603492a
2021-06-08 18:55:49 +08:00
Giuliano Procida
0ac18fa8cb Merge "Revert "Apply SettingsLib SeekBarPreference to Settings"" into sc-dev am: ef0e09f7a3 am: 4c611865bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880698

Change-Id: Id8797d6f1a0949c0ca07a26bc39d8550c93d7f30
2021-06-08 10:10:59 +00:00
Giuliano Procida
70bf492313 Merge "Revert "Apply SettingsLib SeekBarPreference to Settings"" into sc-dev am: ef0e09f7a3 am: 13ba3ea00d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880698

Change-Id: I2207001939d269a292a6ce1b37cf49aad886b910
2021-06-08 10:05:12 +00:00
Giuliano Procida
4c611865bf Merge "Revert "Apply SettingsLib SeekBarPreference to Settings"" into sc-dev am: ef0e09f7a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880698

Change-Id: I710ece36912d159c641bbc2e2c72db8830c23563
2021-06-08 10:04:18 +00:00
Giuliano Procida
13ba3ea00d Merge "Revert "Apply SettingsLib SeekBarPreference to Settings"" into sc-dev am: ef0e09f7a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880698

Change-Id: I528cb33907aab069a37fecf24c39de614b5bc0f2
2021-06-08 10:02:19 +00:00
Giuliano Procida
ef0e09f7a3 Merge "Revert "Apply SettingsLib SeekBarPreference to Settings"" into sc-dev 2021-06-08 09:55:58 +00:00
Edgar Wang
cdff5c6ceb Revert "Apply SettingsLib SeekBarPreference to Settings"
Revert submission 13422386-seekbar-sc-dev

Reason for revert: build broken in SettingsGoogle
Reverted Changes:
I0c2d0d5fb:Apply SettingsLib SeekBarPreference to SettingsGoo...
I1844bb3b0:Apply SettingsLib SeekBarPreference to a11y vibrat...
Ia3e4adec8:Apply SettingsLib SeekBarPreference to a11y vibrat...
Iadee57e9d:Apply SettingsLib SeekBarPreference to a11y vibrat...
I219878716:Apply SettingsLib SeekBarPreference to Settings
I959f5672c:Create SettingsLibSeekBarPreference
I92545a69c:Apply SettingsLib SeekBarPreference to a11y vibrat...

Change-Id: Ie6c3b0dc072e044796abdb33fca305f9f9d47c4d
Bug: 176818438
2021-06-08 09:47:51 +00:00
Zoey Chen
567020518e Merge "[Provider Model] Should not show WiFi call if all sims do not support it." into sc-dev am: bef9945917 am: cdb94b55dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860439

Change-Id: Idc4773aedb1c393bc50976637d8720a73f9fa2d1
2021-06-08 09:40:49 +00:00
Zoey Chen
7c962586d2 Merge "[Provider Model] Should not show WiFi call if all sims do not support it." into sc-dev am: bef9945917 am: 45e7dcb29d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860439

Change-Id: Ic88d73bb30dcb1408f06bfc793a3493e90810627
2021-06-08 09:33:53 +00:00
Zoey Chen
cdb94b55dc Merge "[Provider Model] Should not show WiFi call if all sims do not support it." into sc-dev am: bef9945917
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860439

Change-Id: I6b63442d4bb9053e0dede0789984596047e4e26c
2021-06-08 09:18:30 +00:00
Zoey Chen
45e7dcb29d Merge "[Provider Model] Should not show WiFi call if all sims do not support it." into sc-dev am: bef9945917
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860439

Change-Id: Ifac9eb03629115f8793b162a7601c019db06f7f9
2021-06-08 09:15:09 +00:00
Zoey Chen
bef9945917 Merge "[Provider Model] Should not show WiFi call if all sims do not support it." into sc-dev 2021-06-08 09:03:42 +00:00
Tsung-Mao Fang
015fd6fa49 Merge "Apply accent color for password icon" into sc-dev am: d7a35d95c6 am: 31c24b9c2f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880639

Change-Id: I2ecba82af0ba792be987e193bdcab04e145d542e
2021-06-08 08:49:40 +00:00
Tsung-Mao Fang
61ca999696 Merge "Apply accent color for password icon" into sc-dev am: d7a35d95c6 am: 7ccc9ebd19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880639

Change-Id: I4375f36946e29c9aa33e864d32a2342bed8fd2a7
2021-06-08 08:48:42 +00:00
Tsung-Mao Fang
7ccc9ebd19 Merge "Apply accent color for password icon" into sc-dev am: d7a35d95c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880639

Change-Id: I792bbc0c6fb07f3ff037ae1e8dacdc5a039410b7
2021-06-08 08:35:40 +00:00
Tsung-Mao Fang
31c24b9c2f Merge "Apply accent color for password icon" into sc-dev am: d7a35d95c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880639

Change-Id: Ie7eb60996f7e2d23dde0031a1afbfc33771b98b7
2021-06-08 08:33:59 +00:00
Edgar Wang
ab7d2349ce Merge "Apply SettingsLib SeekBarPreference to Settings" into sc-dev am: 4aad4a88a7 am: 8485da91e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13422705

Change-Id: I6358f4df0d75e30b266b742d17b4119ee7ec04ac
2021-06-08 08:22:53 +00:00
Tsung-Mao Fang
d7a35d95c6 Merge "Apply accent color for password icon" into sc-dev 2021-06-08 08:21:04 +00:00
Edgar Wang
a28f5c8541 Merge "Apply SettingsLib SeekBarPreference to Settings" into sc-dev am: 4aad4a88a7 am: 58c5ee8f12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13422705

Change-Id: Ide019cadc23a6dc70c2e5aa9e49c8fa2ad75692f
2021-06-08 08:15:28 +00:00
Edgar Wang
8485da91e0 Merge "Apply SettingsLib SeekBarPreference to Settings" into sc-dev am: 4aad4a88a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13422705

Change-Id: I3c021c104a67d4be61e8355fe8a577367fff0fa0
2021-06-08 07:40:12 +00:00
Edgar Wang
58c5ee8f12 Merge "Apply SettingsLib SeekBarPreference to Settings" into sc-dev am: 4aad4a88a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13422705

Change-Id: Iae60c211cd69c771e754f729f2bfb0374c15ca61
2021-06-08 07:36:34 +00:00
Edgar Wang
4aad4a88a7 Merge "Apply SettingsLib SeekBarPreference to Settings" into sc-dev 2021-06-08 07:23:54 +00:00
Yi-Ling Chuang
5e8a3947d2 Suppress Shared Axis transiiton on the SIM dialog
ToggleSubscriptionDialogActivity is an activity acting as a dialog.
Applying the page transition to it will lead to an empty page when the
toggle is switched. Hence, suppress the page transition on this dialog
to fix this.

Fixes: 190331062
Test: Toggle on/off "Use SIM" and don't see an empty page
Change-Id: I5d6510625e3c36d5d9074a2dec4923d72093b024
2021-06-08 15:19:21 +08:00
SongFerng Wang
1298009753 Merge "data usage are not left align other item at Network & internet page" into sc-dev am: 5fd29ebeab am: 509881ddfd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880630

Change-Id: Ia4d908c556a5192ed67d031b2e562b2454d52262
2021-06-08 07:06:17 +00:00
changbetty
6514fefa0e Reordering the network provider UI for mobile and wifi network item am: a47c2b94fa am: bf54033e24
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831308

Change-Id: Id4149bce93efd859f8521528195272bec9ddc51b
2021-06-08 07:06:12 +00:00
SongFerng Wang
d6f622f6b3 Merge "data usage are not left align other item at Network & internet page" into sc-dev am: 5fd29ebeab am: 392b17bca2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880630

Change-Id: I4cd371a0b6664a44d7ed9b02b7ae6df1b997046a
2021-06-08 07:05:57 +00:00
changbetty
5a06bd284f Reordering the network provider UI for mobile and wifi network item am: a47c2b94fa am: fdd280489b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831308

Change-Id: I5c9b0e837ee75d265602cb232a0d914fe668015f
2021-06-08 07:05:52 +00:00
tom hsu
f7811dfd09 [Settings] Disable gear button if user is not admin.
- Mobile settings include many settings which second user shall not
  modify, so make gear button disabled to avoid second user want to try.

Bug: 184303943
Test: Maunal test passeded
Test: atest passed.
Change-Id: Ic04fa71772df4ac424965ad2ca95733b1e15d6a7
2021-06-08 15:03:00 +08:00
SongFerng Wang
509881ddfd Merge "data usage are not left align other item at Network & internet page" into sc-dev am: 5fd29ebeab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880630

Change-Id: Ia540da21f4161684aad090b23018f72ef05a8db7
2021-06-08 06:52:01 +00:00
changbetty
bf54033e24 Reordering the network provider UI for mobile and wifi network item am: a47c2b94fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831308

Change-Id: Icb302b22e1e18537c8784dc71d3483d559245f6b
2021-06-08 06:51:56 +00:00
SongFerng Wang
392b17bca2 Merge "data usage are not left align other item at Network & internet page" into sc-dev am: 5fd29ebeab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880630

Change-Id: I2e56aeaf55a9e66339fa46b9d82e0cc78cca04f1
2021-06-08 06:50:15 +00:00
changbetty
fdd280489b Reordering the network provider UI for mobile and wifi network item am: a47c2b94fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831308

Change-Id: Ic01796f61fe416cba828ead543869446039f0ef6
2021-06-08 06:50:06 +00:00
SongFerng Wang
5fd29ebeab Merge "data usage are not left align other item at Network & internet page" into sc-dev 2021-06-08 06:43:17 +00:00
Zoey Chen
3c4ad08086 [Provider Model] Should not show WiFi call if all sims do not support it.
Bug: 186587557
Test: atest -c NetworkProviderWifiCallingForSubTest
Change-Id: I56c580a7576f162aca5050e090c324b1d7fdb982
2021-06-08 14:39:41 +08:00
changbetty
a47c2b94fa Reordering the network provider UI for mobile and wifi network item
- Reordering the UI option
  - Move the Mobile data network on the top

- Add the divider back (ag/14716097)

Bug: 189912933
Test: Manaul test
Change-Id: I2ebb6429c3d4b5514e18e24f2953917254aa2048
2021-06-08 11:24:30 +08:00
TreeHugger Robot
a6c2b1ec90 Merge "Update string reference" into sc-dev am: df0a84f08a am: c2fe36b100
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831291

Change-Id: Iaa6f17219c86f9889b32df47b9763a17d56ea369
2021-06-08 03:17:36 +00:00
TreeHugger Robot
24e9afb959 Merge "Update string reference" into sc-dev am: df0a84f08a am: a96f90a882
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831291

Change-Id: I04fd12f1ecfa688c882606031a56ac6ef0b45201
2021-06-08 03:03:33 +00:00
Betty Chang
ccb06d864b Merge "Remove extra space under "Wi-Fi hotspot" option" into sc-dev am: e07e36f609 am: bf23b43c87
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14841815

Change-Id: I05ed13f083dde64a8833be03696eba8362b62660
2021-06-08 03:03:28 +00:00
TreeHugger Robot
c2fe36b100 Merge "Update string reference" into sc-dev am: df0a84f08a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831291

Change-Id: Iccd7cd779ee68d6c208f4e1057cd1baec672d179
2021-06-08 03:03:27 +00:00