Greg Kaiser
1ab7ad3e40
Merge "Revert "Support highlightable Settings homepage menu for 2-pane"" into sc-v2-dev
2021-10-08 14:48:14 +00:00
Greg Kaiser
096c090b80
Revert "Support highlightable Settings homepage menu for 2-pane"
...
This reverts commit 9037ceabd3
.
Reason for revert: Presumed cause of b/202510128
Change-Id: I0daaab95d9bc57229c0c8c916cbe3ada7aafb6fa
2021-10-08 14:29:06 +00:00
Jason Chiu
630cbdc519
Merge "Support highlightable Settings homepage menu for 2-pane" into sc-v2-dev am: 9b1f593773
am: de33f1224b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15785736
Change-Id: Ic375f9e19b1f6dbc6f70cedaa770c133fb96f652
2021-10-08 08:12:37 +00:00
Jason Chiu
9b1f593773
Merge "Support highlightable Settings homepage menu for 2-pane" into sc-v2-dev
2021-10-08 07:52:45 +00:00
Jason Chiu
9037ceabd3
Support highlightable Settings homepage menu for 2-pane
...
1. Add a preference group adapter to perform highlighting
2. Add a class for mapping highlighable menu keys and preference keys
3. Add an API to determine if the screen is in split mode
Bug: 199017944
Test: manual, build
Change-Id: I8e3fe5fb96480a31ee0f3b3afb6ad78999d3d2bc
2021-10-08 12:52:52 +08:00
Adam Bookatz
97302f6f77
Merge "UM.getUserHandle -> UM.getProcessUserId"
2021-10-08 02:22:28 +00:00
arangelov
c5346baaa2
Don't start DPC with the FLAG_ACTIVITY_NEW_TASK flag
...
The flag prevents the DPC screen from showing with the in-app
transition.
Fixes: 198422800
Test: manual
Change-Id: Ie6debb55396eb5ce48a21b1ef52c89612b1c7ffd
2021-10-07 19:27:38 +01:00
Weng Su
d6104f2e72
[RESTRICT AUTOMERGE] Revert "Add permission checking to WifiDialogActivity" am: f603e671e7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15959642
Change-Id: I644814dfa7c696b1a7df4be6b061f1c6be21092d
2021-10-06 19:09:43 +00:00
Weng Su
1c15ca32c2
Merge changes from topic "sc-dev_WifiDialogActivity_permission-sc-qpr1-dev-sc-v2-dev" into sc-v2-dev
...
* changes:
[RESTRICT AUTOMERGE] Revert "Add permission checking to WifiDialogActivity"
[RESTRICT AUTOMERGE] Revert "Add SafetyNet logging"
2021-10-06 18:48:54 +00:00
Weng Su
e736eff6db
Merge changes from topic "sc-dev_WifiDialogActivity_permission-sc-qpr1-dev" into sc-qpr1-dev
...
* changes:
[RESTRICT AUTOMERGE] Revert "Add permission checking to WifiDialogActivity"
[RESTRICT AUTOMERGE] Revert "Add SafetyNet logging"
2021-10-06 18:48:39 +00:00
Kunhung Li
068b235c12
Merge "Not use NEW_TASKS for Wallpaper & style's 2-pane UX" into sc-v2-dev am: f83531e0b3
am: 4e77f2d62c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15938355
Change-Id: I87c801dbd33fba3a851090ca91eae6bcc81aa1a5
2021-10-06 14:38:36 +00:00
Kunhung Li
f83531e0b3
Merge "Not use NEW_TASKS for Wallpaper & style's 2-pane UX" into sc-v2-dev
2021-10-06 14:05:10 +00:00
Kunhung Li
c692af2a76
Not use NEW_TASKS for Wallpaper & style's 2-pane UX
...
Refine launch mode to support 2-pane UX for Settings.
Bug: 197609643
Test: make RunSettingsRoboTests
Change-Id: I5212bbcf8c512fac571284379a29cf487f387c5a
2021-10-06 14:04:08 +00:00
Menghan Li
21eb4d80f4
Merge "Apply GlifPreferenceLayout for accessibility service Setup Wizard two-panel styles" into sc-v2-dev am: 9441d2b289
am: ebdfd05c67
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15773283
Change-Id: Ie70c92947bcff341fe7040e8ce5d2046eea0643d
2021-10-06 11:18:43 +00:00
Menghan Li
9441d2b289
Merge "Apply GlifPreferenceLayout for accessibility service Setup Wizard two-panel styles" into sc-v2-dev
2021-10-06 10:46:37 +00:00
TreeHugger Robot
bf19d369a0
Merge "Update adaptive preference summary" into sc-v2-dev am: 6ff60d7771
am: e6a10f3487
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15981706
Change-Id: If760aaa0006cadb1f5cbb999b977ffe719dfb6d7
2021-10-06 10:19:36 +00:00
TreeHugger Robot
6ff60d7771
Merge "Update adaptive preference summary" into sc-v2-dev
2021-10-06 10:03:55 +00:00
TreeHugger Robot
fe13cd070d
Merge "Update font/display size pages for support large screen in SuW" into sc-v2-dev am: 9ade901dd7
am: 87895d0893
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15895175
Change-Id: Icb7de5c7fc4bd8f89f7ef04b0cd9e8eb36a1c882
2021-10-06 06:42:34 +00:00
Sunny Shao
f9beef43c9
Update font/display size pages for support large screen in SuW
...
- Follow the SuW design of the UI guideline.
- Add the footer button for each pages.
- Add a new AccessibilityScreenSizeForSetupWizardActivity for SuW.
- Add suw_font_size_fragment.xml and suw_screen_zoom_fragment.xml
for each fragment.
- Shorten 50% of the preview height.
Bug: 194447311
Fixes: 199369859
Test: manual test
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.accessibility
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.display
Change-Id: I2685e96d37d542490521ec24cfce490f87cbd88d
2021-10-06 11:41:57 +08:00
Daniel Solomon
c2bc33531b
Merge "Update BrightnessInfo constructor usage" into sc-qpr1-dev am: 396939a577
am: cdf1cf85ee
am: 0ecfb4be90
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15918324
Change-Id: Ib693de8b376a442e4ecbbdd674f0f5d9339d5ce1
2021-10-05 23:28:45 +00:00
Daniel Solomon
0ecfb4be90
Merge "Update BrightnessInfo constructor usage" into sc-qpr1-dev am: 396939a577
am: cdf1cf85ee
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15918324
Change-Id: I994364ea896dc8852c83a022891f28e99ca3dfd8
2021-10-05 23:14:00 +00:00
Daniel Solomon
71d5798d3e
Merge "Update BrightnessInfo constructor usage" into sc-qpr1-dev am: 396939a577
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15918324
Change-Id: Iea142d5bec500413df5dd68ee0fc73273130ecdc
2021-10-05 23:01:16 +00:00
Daniel Solomon
396939a577
Merge "Update BrightnessInfo constructor usage" into sc-qpr1-dev
2021-10-05 22:44:19 +00:00
Adam Bookatz
30dafd4140
UM.getUserHandle -> UM.getProcessUserId
...
UM is being made @UserHandleAware, so using an explicit method avoids ambiguity.
Bug: 201679968
Test: (No-op) compiles and treehugger
Change-Id: If067af7ced5017a9689cafbf99ceec1d26c06b3b
2021-10-05 12:55:22 -07:00
Weng Su
ca67955d7d
[RESTRICT AUTOMERGE] Revert "Add permission checking to WifiDialogActivity"
...
This reverts commit 71e728e934
.
Reason for revert: rollback CLs to avoid compatibility risks
Bug: 185126813
Change-Id: I9251eb35ecba9bcc07eb3763c47c3ad7f55897f1
2021-10-05 12:04:33 +00:00
Wesley.CW Wang
4137253658
Update adaptive preference summary
...
Bug: 195627250
Test: make RunSettingsRoboTests
Change-Id: I50ed736bbba7ac8d3d6fcf026e9e17e2116f86a7
2021-10-05 17:52:43 +08:00
menghanli
7e8dd64ee4
Apply GlifPreferenceLayout for accessibility service Setup Wizard two-panel styles
...
Bug: 194447311
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilitySetupWizardUtilsTest
Change-Id: Icace09d12c0d2a82eb2591a55f6454f320172ec9
2021-10-05 10:09:04 +08:00
Weng Su
34b571612f
[RESTRICT AUTOMERGE] Revert "Add permission checking to WifiDialogActivity"
...
This reverts commit 71e728e934
.
Reason for revert: rollback CLs to avoid compatibility risks
Bug: 185126813
Change-Id: I9251eb35ecba9bcc07eb3763c47c3ad7f55897f1
2021-10-04 07:29:56 +00:00
Weng Su
f603e671e7
[RESTRICT AUTOMERGE] Revert "Add permission checking to WifiDialogActivity"
...
This reverts commit 71e728e934
.
Reason for revert: rollback CLs to avoid compatibility risks
Bug: 185126813
Change-Id: I9251eb35ecba9bcc07eb3763c47c3ad7f55897f1
2021-10-03 18:26:32 +00:00
TreeHugger Robot
06d312f0af
Merge "Punt battery status action when entering Settings main page" into sc-v2-dev am: 99554d3c34
am: d9195b80af
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15938356
Change-Id: I3b030dd9ac65b93500814b62cae4ef48ceb3bc1b
2021-10-01 08:58:55 +00:00
TreeHugger Robot
99554d3c34
Merge "Punt battery status action when entering Settings main page" into sc-v2-dev
2021-10-01 08:34:35 +00:00
Wesley.CW Wang
0cd29a70a4
Punt battery status action when entering Settings main page
...
- Checking battery sharing states at the beging may have some performance issue, post battery status update to background thread to avoid ANR
Bug: 193600924
Test: make SettingsRoboTests
Change-Id: I3b73e6bd4f952bc832783b9b3b5d45db560d088c
2021-10-01 15:15:25 +08:00
Tim Peng
9e1455492b
Phone fails to switch channel mode from stereo to mono
...
-Set codec to SBC when HD audio is off
Bug: 194349060
Test: make -j50 RunSettingsRoboTests
Change-Id: Iae4aa3f1d77350f5b4d91e7a687e048091c1daea
Merged-In: Iae4aa3f1d77350f5b4d91e7a687e048091c1daea
(cherry picked from commit 1469626b4a
)
2021-09-29 18:57:41 +00:00
TreeHugger Robot
dcd1683d1d
Merge "Fix the summary format problem of the installed apps" into sc-v2-dev am: e65b3dae22
am: 9d3e4aba06
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15939313
Change-Id: I400f5f0bce4d533b60568c299776b714181c2a4a
2021-09-29 13:27:43 +00:00
Sunny Shao
256a65c467
Fix the summary format problem of the installed apps
...
- The summary of each installed apps in Opening links page is differnt
with the summary of the Open by default in App info page.
- Let the format of the installed apps' summary is same as the Open
by default.
Fixes: 193455965
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.applications.managedomainurls
Change-Id: Ifef4b27795300dc81c83ac1cc5063e8e22f54497
2021-09-29 19:21:17 +08:00
TreeHugger Robot
6a9d8bc5bc
Merge "Revert "Move Automatic System Updates from Developer Options to ..."" into sc-qpr1-dev am: cc1cc9a5f7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15895168
Change-Id: I5c6bd25d10088435a5f41010d825c5baf172a778
2021-09-27 15:49:47 +00:00
jasonwshsu
77dfb35922
Fix failure test cases in AccessibilityShortcutPreferenceFragmentTest
...
Root Cause: The lifecycle for
AccessibilityShortcutPreferenceFragmentTest did not be called correctly.
Solution:
* Call onAttach() before onCreate() to set some configs correctly, e.g.
FeatureFactory.
* Use ShadowFragment.class that we usually do in accessibility
tests.
Fix: 200906425
Fix: 201020915
Test: atest AccessibilityShortcutPreferenceFragmentTest
Change-Id: I3391c0a4a2c7c361a44c7d282b1d5d3e75a28a39
Merged-In: I3391c0a4a2c7c361a44c7d282b1d5d3e75a28a39
2021-09-27 02:04:43 +00:00
Daniel Solomon
5a02e48902
Update BrightnessInfo constructor usage
...
Bug: 200851199
Test: atest DisplayModeDirectorTest BrightnessLevelPreferenceControllerTest
Change-Id: I37593443b3d7eb314f8c4970711e4d4d6f39c6ea
2021-09-26 16:14:09 -07:00
jasonwshsu
2d3894a148
Fix failure test cases in AccessibilityShortcutPreferenceFragmentTest
...
Root Cause: The lifecycle for
AccessibilityShortcutPreferenceFragmentTest did not be called correctly.
Solution:
* Call onAttach() before onCreate() to some config, e.g.
FeatureFactory.
* Use ShadowFragment.class that we usually do in accessibility
tests.
Fix: 200906425
Fix: 201020915
Test: atest AccessibilityShortcutPreferenceFragmentTest
Change-Id: I3391c0a4a2c7c361a44c7d282b1d5d3e75a28a39
2021-09-26 03:16:57 +08:00
TreeHugger Robot
5f722aaa18
Merge "[Settings] Ignore failed test case"
2021-09-24 07:35:11 +00:00
TreeHugger Robot
9645f80b48
Merge "[Settings] Ignore failed test case"
2021-09-24 07:32:12 +00:00
TreeHugger Robot
17813cc448
Merge "[Settings] Ignore failed test case"
2021-09-24 06:53:38 +00:00
TreeHugger Robot
ff76d8d891
Merge "[Settings] Ignore failed test case"
2021-09-24 06:31:04 +00:00
TreeHugger Robot
c3c9aa8c6b
Merge "[Settings] Ignore failed test case"
2021-09-24 06:27:34 +00:00
TreeHugger Robot
e66ef00c41
Merge "[Settings] Ignore failed test case"
2021-09-24 06:27:14 +00:00
TreeHugger Robot
98cad31f2a
Merge "Revert "Move Automatic System Updates from Developer Options to ..."" into sc-qpr1-dev am: cc1cc9a5f7
am: 59461a5836
am: 734ad243bf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15895168
Change-Id: I977c218433b1eb2daf493b6b238293fbe96620f4
2021-09-24 06:25:28 +00:00
TreeHugger Robot
14c709a1fa
Merge "[Settings] Ignore failed test case"
2021-09-24 06:21:43 +00:00
TreeHugger Robot
9b651f2ff6
Merge "[Settings] Ignore failed test case"
2021-09-24 06:21:04 +00:00
TreeHugger Robot
d924c64947
Merge "[Settings] Ignore failed test case"
2021-09-24 06:19:53 +00:00
TreeHugger Robot
8e976ddcdb
Merge "[Settings] Ignore failed test case"
2021-09-24 06:18:53 +00:00