Commit Graph

140401 Commits

Author SHA1 Message Date
Fan Wu
4bbf7ec3db Enable VPN2 package to Presubmit as the tests aren't flaky during local tests.
Bug: 339533415

Test: atest
Change-Id: Ife64f460795e32a546f17ef04351c0ad12931d2f
2024-05-21 08:49:04 +00:00
Automerger Merge Worker
2b7c9e5cdb Merge "[automerger skipped] Fix BackupTasksAppsTest am: 6d5dadfb0d -s ours" into main 2024-05-21 06:38:27 +00:00
SongFerng Wang
f7425b9e32 Merge "Fix UiccSlotUtilTest's test case" into main 2024-05-21 06:38:22 +00:00
Chaohui Wang
b563d78213 [automerger skipped] Fix BackupTasksAppsTest am: 6d5dadfb0d -s ours
am skip reason: Merged-In Ib01bd6556768a943ae7fae013c6ccb82b1b96697 with SHA-1 321e08e538 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27429225

Change-Id: Iad27456629e6ac6d92e1590834a40df8ac54fa3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-21 06:38:17 +00:00
Chelsea Hao
85d328ed9d Merge "[Audiosharing] Create dialog for unsupported device." into main 2024-05-21 06:35:13 +00:00
Chaohui Wang
6d5dadfb0d Fix BackupTasksAppsTest
Fix: 341832628
Test: atest BackupTasksAppsTest
Change-Id: I8731604d896d58a9b46b4d0af660a40c34bb905b
Merged-In: Ib01bd6556768a943ae7fae013c6ccb82b1b96697
2024-05-21 06:08:59 +00:00
Xinyi Mao
a05fab6dc5 Merge "Update view alpha to improve text color constract in Battery usage" into main 2024-05-21 05:39:46 +00:00
Chaohui Wang
e0d86be017 Fix default mode for AlarmsAndRemindersAppList am: 83aeb45f3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27391745

Change-Id: Ib16f3abadd2428f090ff9f28c9ea5045f64897be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-21 05:35:34 +00:00
Roy Chou
575259e049 Merge changes Ife935485,Ic9b44d73,I44f7f058,I39868ac1,I05c59a76 into main
* changes:
  chore(magnification suw): hide joystick toggle in setup wizard
  chore(magnification suw): hide one finger pan toggle in setup wizard
  refactor(magnification suw): hide follow typing toggle in setup wizard
  chore(magnification suw): hide always on toggle in setup wizard
  chore(magnification suw): create MagnificationFeaturePreferenceController
2024-05-21 05:25:12 +00:00
chelseahao
997438d537 [Audiosharing] Create dialog for unsupported device.
Test: atest -c com.android.settings.connecteddevice.audiosharing.audiostreams
Bug: 308368124
Change-Id: Ibe421d29aa1ee05ee736fc8a2665794984a8b6e1
2024-05-21 12:30:20 +08:00
Chaohui Wang
fd5e9718b7 [automerger skipped] Reapply "Migrate AppOps" am: 7a8d8fd091 -s ours
am skip reason: Merged-In I000274ae9c725f848e1c8910120ba886fcc5be95 with SHA-1 fb48926fe8 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27410054

Change-Id: I28b237c8e894b89faab5e90bd426e8a226cc56e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-21 04:00:48 +00:00
songferngwang
92d77ea26b Fix UiccSlotUtilTest's test case
The onReceiveSimCardStateChangeReceiver_receiveAction_timerCountDown
is failed since the action is wrong.

Bug: 337417975
Test: atest UiccSlotUtilTest (pass)
Change-Id: I0cb12432553155d69f985693e4ef911455c81652
2024-05-21 03:55:50 +00:00
mxyyiyi
431c14fa18 Update view alpha to improve text color constract in Battery usage
- For light themes, first set the text color of title/summary/widget_summary to be consistent, then apply alpha = 0.65

[Before] https://screenshot.googleplex.com/4nVMMFBK7odhQju
A11y Scanner result: https://screenshot.googleplex.com/4nVMMFBK7odhQju

[After] https://screenshot.googleplex.com/B4r79v89HnWr4tw
A11y Scanner result: https://screenshot.googleplex.com/3zQfRMe4HToc8Xm

Dark mode:
[before] https://screenshot.googleplex.com/BfLxR6tqQRgP4mQ
[after]  https://screenshot.googleplex.com/8KeG62i7R5hW8Ks

Bug: 317139415
Bug: 265364351
Test: Accessibility Scanner
Change-Id: I65a71525bbce41c37ee364f3f73c0d2d1d9ace38
2024-05-21 11:52:49 +08:00
Edgar Wang
2c80210f34 Merge "Make Choose Profile dialog scrollable" into main 2024-05-21 03:38:55 +00:00
Chaohui Wang
83aeb45f3c Fix default mode for AlarmsAndRemindersAppList
When app ops permission's app ops mode is default, should check if
permission is grant.

Fix: 339846642
Test: manual - on AlarmsAndRemindersAppList
Test: unit test
Change-Id: Ia0f05211f5774637304502ead79dd98a1cf89886
2024-05-21 03:37:47 +00:00
Roy Chou
a511ddb75a chore(magnification suw): hide joystick toggle in setup wizard
Although we haven't implemented joystick feature, but the joystick
preference controller is already in the codebase, so we also add hiding
logic for joystick toggle when in setup wizard.

Bug: 340721852
Flag: NONE
Test: manually
      atest MagnificationJoystickPreferenceControllerTest
Change-Id: Ife93548583c3e82eac030e6e3aa55b9f643b055a
2024-05-21 03:37:37 +00:00
Roy Chou
f094c19d0a chore(magnification suw): hide one finger pan toggle in setup wizard
Bug: 340721852
Flag: NONE
Test: manually
      atest MagnificationOneFingerPanningPreferenceControllerTest
Change-Id: Ic9b44d73f75b47e6b97c5f4994b2e0b23bfb623b
2024-05-21 03:37:12 +00:00
Roy Chou
c9d3b39a62 refactor(magnification suw): hide follow typing toggle in setup wizard
Originally we cache mFollowingTypingSwitchPreference in fragment so in
ToggleScreenMagnificationPreferenceFragmentForSetupWizard we can set the
preference visible to false to hide it. After creating MagnificationFeaturePreferenceController,
the MagnificationFollowTypingPreferenceController can extend it and
check isInSetupWizard internally then dicide whether to hide. Therefore,
we don't need to cache mFollowingTypingSwitchPreference in fragment
and let the fragment control the preference visibility anymore.

Bug: 340721852
Flag: NONE
Test: manually
      atest MagnificationFollowTypingPreferenceControllerTest
      atest ToggleScreenMagnificationPreferenceFragmentForSetupWizardTest
      atest ToggleScreenMagnificationPreferenceFragmentTest
Change-Id: I44f7f0589b2df3d83a27139323fc68a0561f1cfa
2024-05-21 03:36:51 +00:00
Roy Chou
3761f61c7e chore(magnification suw): hide always on toggle in setup wizard
Bug: 340721852
Flag: NONE
Test: manually
      atest MagnificationAlwaysOnPreferenceControllerTest
Change-Id: I39868ac1d4423584e43473683db20a2259311049
2024-05-21 03:36:38 +00:00
Roy Chou
9780020f6b chore(magnification suw): create MagnificationFeaturePreferenceController
Add a new abstract class MagnificationFeaturePreferenceController
that extends TogglePreferenceController, to wrap inSetupWizard
setter/getter. Then for magnification feature preference controllers
like alwaysOn or followTyping, they can just check isInSetupWizard to
decide whether hiding in setup wizard.

Besides, in ToggleScreenMagnificationPreferenceFragment we cache a flag
mInSetupWizard when fragment created, so we can pass the info to the
preferece controllers when creating them.

Bug: 340721852
Flag: NONE
Test: build pass
Change-Id: I05c59a766219862117d2a6ede775d68a4c3dedac
2024-05-21 03:36:06 +00:00
Chaohui Wang
7a8d8fd091 Reapply "Migrate AppOps"
This reverts commit 19b01bd68b.

Bug: 341016088
Test: manual - on Special app access
Change-Id: I000274ae9c725f848e1c8910120ba886fcc5be95
Merged-In: I000274ae9c725f848e1c8910120ba886fcc5be95
2024-05-21 03:20:04 +00:00
Treehugger Robot
1a5eb3ed59 Merge "Avoid update the le audio mode as bluetooth turn off" into main 2024-05-20 22:36:48 +00:00
Joshua Mccloskey
03a0812931 Merge "UDFPS Enrollment Refactor (4/N)" into main 2024-05-20 21:53:16 +00:00
Julia Reynolds
f60595d0d5 Merge "Fix test failures" into main 2024-05-20 18:24:42 +00:00
Julia Reynolds
44044a1898 Fix test failures
Test: ZenModesBackendTest
Flag: android.app.modes_ui
Fixes: 341693051
Change-Id: I4149db371a85abe8008c10cf76a84206f75143f6
2024-05-20 13:31:40 -04:00
Song Chun Fan
b17c5b2489 Merge "Rmove unuseful test for PackageMonitor change" into main 2024-05-20 16:59:11 +00:00
Yuri Lin
fdb948df20 Add mode names to search results dynamically.
The resulting search result takes the user to the modes aggregator page.

Flag: android.app.modes_ui
Bug: 332937523
Test: ZenModesListPreferenceControllerTest, manual with modes_ui on and off
Change-Id: I7372307cb995667f6f7234530a3140f5295ab06a
2024-05-20 11:29:29 -04:00
TYM Tsai
9fc6c88697 Rmove unuseful test for PackageMonitor change
In PackageMonitor, it is no longer based on broadcast receivers to
listen package added/removed/... events. Therefore the verification
should be removed.

Bug: 340387113
Test: atest SettingsRoboTests:com.android.settings.accessibility.AccessibilitySettingsTest
Change-Id: I7b0d46add06c74f1b9bf1097f92dececa9b130de
2024-05-20 15:13:37 +00:00
Treehugger Robot
1b1c159d9f Merge "Kill tasks that are neither visible nor in focus" into main 2024-05-20 14:27:25 +00:00
Julia Reynolds
1be83b6466 Merge "Some minor additions (icons, sorting) to modes" into main 2024-05-20 12:34:12 +00:00
Edgar Wang
57dc45cc4c Merge "Adjust emergency settings position and reduce the gap between 2 groups" into main 2024-05-20 12:22:15 +00:00
Faye Yan
222b92b203 [automerger skipped] Revert "Add Voice activation apps into Settings->Apps->Special a..." am: a7065f4d36 -s ours
am skip reason: Merged-In I4977e7d543cb800fc9fb6962bba3afebb9480dcc with SHA-1 d0b0881810 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27394025

Change-Id: I94e992d17b3e6b6be0683b7529ab440098acf7dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-20 10:32:58 +00:00
Faye Yan
cd219f00ab [automerger skipped] Revert "Add Voice activation apps into Settings->Apps->Specific app->AppInfo->Voice activation apps" am: f6b5904511 -s ours
am skip reason: Merged-In Idfabfd48f45d2ace7de9f8498181f281ad0358a1 with SHA-1 b5aab77162 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27394024

Change-Id: Iadd13a308e8fdef5c1f1935d3f858402be45dfb3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-20 10:32:52 +00:00
Edgar Wang
7f0a1b66c7 Adjust emergency settings position and reduce the gap between 2 groups
Bug: 341045630
Change-Id: I7cade71626a776dfe0ce0cf9b864e6bb9c60a068
Test: visual
2024-05-20 09:36:23 +00:00
Edgar Wang
46119c9cbb Make Choose Profile dialog scrollable
Fixes: 326846585
Test: manual
Change-Id: I15d25c7c123bfdd4f550fe923e3058ef576be653
2024-05-20 09:33:26 +00:00
Chaohui Wang
c6b49c4f99 Merge "Sort selectable subscriptions by sim slot index" into main 2024-05-20 08:35:41 +00:00
Edgar Wang
ea5e44f1d7 Merge changes I53ea81ce,I84505033,I4bd5c343 into main
* changes:
  Apply round corner group background for large screen
  Update suggestion card padding in Homepage
  Update Search Bar layout in Homepage
2024-05-20 08:29:03 +00:00
Edgar Wang
542cd44266 Apply round corner group background for large screen
Bug: 340510477
Test: manual

Change-Id: I53ea81cee3b6bf543a71237030a61df6aef0e967
2024-05-20 06:49:24 +00:00
Edgar Wang
d0a35f619d Update suggestion card padding in Homepage
Bug: 340759836
Test: visual
Change-Id: I845050339f85d7459bd7c69f0a538d5c85651ec6
2024-05-20 06:49:24 +00:00
Edgar Wang
66c16d57af Update Search Bar layout in Homepage
Bug: 340513864
Bug: 340773713
Bug: 340799397
Bug: 340759836
Test: visual
Change-Id: I4bd5c3438aa55ca764f61b180a37c10206ee78be
2024-05-20 06:49:12 +00:00
Treehugger Robot
3c32c3e2f1 Merge "Fix CdmaSystemSelectPreferenceControllerTest" into main 2024-05-20 06:30:02 +00:00
Chaohui Wang
c8b89dde09 Fix CdmaSystemSelectPreferenceControllerTest
Fix: 337417917
Test: unit test
Change-Id: If215f04ad09c44a3ef7d89b0bac5116026463e4e
2024-05-20 13:34:38 +08:00
Chaohui Wang
8c1eaf73cf Merge "Reapply "Migrate AppOps"" into main 2024-05-20 04:45:27 +00:00
Faye Yan
a7065f4d36 Revert "Add Voice activation apps into Settings->Apps->Special a..."
Revert submission 25108596-va-special-access

Reason for revert: voice activation is not going in V

Reverted changes: /q/submissionid:25108596-va-special-access

Bug: 306447565
Bug: 393727896

Test: presubmit

Change-Id: I4977e7d543cb800fc9fb6962bba3afebb9480dcc
Merged-In: I4977e7d543cb800fc9fb6962bba3afebb9480dcc
2024-05-20 11:56:48 +08:00
Faye Yan
f6b5904511 Revert "Add Voice activation apps into Settings->Apps->Specific app->AppInfo->Voice activation apps"
This reverts commit 7f2fbc2e4c.

Reason for revert: voice activation is not going in V

Test: manual - on Special app access
Change-Id: Idfabfd48f45d2ace7de9f8498181f281ad0358a1
Merged-In: Idfabfd48f45d2ace7de9f8498181f281ad0358a1
2024-05-20 11:56:47 +08:00
Chaohui Wang
ec8ce02ba4 Sort selectable subscriptions by sim slot index
To match the sorting order in
SubscriptionManagerService.getAvailableSubscriptionInfoList.

Fix: 340361264
Test: manual - on SIMs
Test: unit test
Change-Id: I06b6c61304f9e6c9515b5f989294417ac3f82a60
2024-05-20 11:38:58 +08:00
Chaohui Wang
fb48926fe8 Reapply "Migrate AppOps"
This reverts commit 19b01bd68b.

Bug: 339846642
Test: manual - on Special app access
Change-Id: I000274ae9c725f848e1c8910120ba886fcc5be95
2024-05-20 10:39:30 +08:00
Chaohui Wang
35d91e9870 Fix EnabledNetworkModePreferenceControllerTest
Fix: 337418033
Test: atest EnabledNetworkModePreferenceControllerTest
Change-Id: I5614a6d863b804442cbb14c1fbc136db9d800a28
2024-05-20 02:18:56 +00:00
Chris Antol
9c0654daea [automerger skipped] Merge "Fix NPE in AudioSwitchPreferenceController" into 24D1-dev am: c4c5ad5642 -s ours
am skip reason: Merged-In Ic97d1a6269a6d98ffd15a9b512f6ae24ff1c5b5e with SHA-1 7ac80f0a0a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27342577

Change-Id: I0a070c63cd6e8da2903fa0a75a4cac78632d5eeb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 16:39:25 +00:00
Chris Antol
afade2c4c2 [automerger skipped] Fix NPE in AudioSwitchPreferenceController am: f5cc663a8a -s ours
am skip reason: Merged-In Ic97d1a6269a6d98ffd15a9b512f6ae24ff1c5b5e with SHA-1 7ac80f0a0a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27342577

Change-Id: I3e6a143158acf9708cb29de92d1bcd2e4706c251
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 16:39:20 +00:00