Commit Graph

140628 Commits

Author SHA1 Message Date
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
Chris Antol
c4c5ad5642 Merge "Fix NPE in AudioSwitchPreferenceController" into 24D1-dev 2024-05-17 16:19:32 +00:00
Aurélien Pomini
5c8d8a295b Merge "Remove old contrastDialog from dev options" into main 2024-05-17 16:10:36 +00:00
ELIYAZ MOMIN
67c0cd96d9 Revert "Migrate AppOps" am: 19b01bd68b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27382787

Change-Id: Iaa26113d70e2ee8792aa75bc625b2c68bc50f81d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 14:52:17 +00:00
Julia Reynolds
b42553dccc Some minor additions (icons, sorting) to modes
Test: manually viewing pages
Flag: android.app.modes_ui
Fixes: 331429435
Fixes: 308819461
Bug: 322373473
Change-Id: I17e6df82e17a4cfadc2948258829746cdb5473db
2024-05-17 14:21:54 +00:00
Manish Singh
9447b63197 Kill tasks that are neither visible nor in focus
Bug: 336754145
Test: manual
Change-Id: I559886b172c0f2e6a5d9882f8109b8d51644315c
2024-05-17 13:22:42 +00:00
Kevin Liu
4551e0693a Add strict_mode: false
As strict mode is in place, the default strict_mode is now set to true. We are encourage teams to write tests in strict_mode to make tests Bivalent (able to run on device and devicelessly)
For more info on strict mode: go/roboStrictMode

Test: atest SettingsRoboTests
Bug: 334089788
Change-Id: I4381446dac381a34747043c564cf5288a2e16725
2024-05-17 13:20:21 +00:00
Oli Thompson
383b7960f1 Backup connected apps settings
Save the preference for connected apps for backup and restore

Flag: android.app.admin.backup_connected_apps_settings
Bug: 175067666
Test: manual

Change-Id: Ic46fbd1ab82f551ecf89caf800e41d6afe48fc68
2024-05-17 13:18:29 +00:00
ELIYAZ MOMIN
19b01bd68b Revert "Migrate AppOps"
Revert submission 27392016-cherrypick-AppOpsController-AppOps-w48m53c1or

Reason for revert: <Potential culprit for b/341210811- verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>

Reverted changes: /q/submissionid:27392016-cherrypick-AppOpsController-AppOps-w48m53c1or

Change-Id: Ib9813a48170f4ef38de9eee811c677ad75f5401e
2024-05-17 10:48:57 +00:00
Yiyi Shen
66b69fbbb8 Merge "[Audiosharing] Migrate feature from overlay to Settings" into main 2024-05-17 09:30:14 +00:00
Xinyi Mao
4f1920f215 Merge "Update view alpha to improve text color constract in Battery usage" into main 2024-05-17 08:39:08 +00:00
Manish Singh
29cd25e8a8 Merge "Apply the AlertDialog theme" into main 2024-05-17 08:08:44 +00:00
mxyyiyi
0903173391 Update view alpha to improve text color constract in Battery usage
- Update alpha of dark theme from 0.5 to 0.65

[Before] https://screenshot.googleplex.com/3UZicUb7iQa7ovh
A11y Scanner result: https://screenshot.googleplex.com/36wWZDoyJwRy4AK

[After] https://screenshot.googleplex.com/6LRyQMhw2xX6RKk
A11y Scanner result: https://screenshot.googleplex.com/4tWu4RW7VPdJUCP

Bug: 317139415
Bug: 265364351
Test: Accessibility Scanner
Change-Id: I5c1c5c321301da7b148b911a9687a258cc15c87d
2024-05-17 15:24:40 +08:00
Hakjun Choi
f0d2581cd3 Merge "Add activity expose condition for Satellite messaging activity" into main 2024-05-17 07:16:23 +00:00
Chaohui Wang
d005d01a12 Merge "Fix CellInfoUtilTest" into main 2024-05-17 07:06:03 +00:00
Chaohui Wang
d5d70536e8 Migrate AppOps am: 4573df2aaf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27378716

Change-Id: I2f099b8dd3c205f1eb467b3fc3d03a19cc978b74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 06:31:51 +00:00
Edgar Wang
b9653deead Merge "Update HomepagePreference layout" into main 2024-05-17 06:08:11 +00:00
Treehugger Robot
ae230aa12c Merge "Fixed issue with pattern not appearing disabled." into main 2024-05-17 04:38:45 +00:00
Chaohui Wang
6f01512762 Fix CellInfoUtilTest
Fix: 337417936
Fix: 337417222
Test: unit test
Change-Id: I47dfa05fd4839885ad7f2115a279a7b4675e85fc
2024-05-17 12:29:58 +08:00
Chaohui Wang
4573df2aaf Migrate AppOps
Bug: 339846642
Test: manual - on Special app access
Change-Id: I988bdf85036478d8e6d87a3b5a1a46a35df38422
2024-05-17 02:57:31 +00:00
Edgar Wang
82f3ecab26 Merge "Fix SettingsHomepageActivityTest failed" into main 2024-05-17 02:31:28 +00:00
Chaohui Wang
201ca1e202 Merge "Create VoNrRepository" into main 2024-05-17 02:21:31 +00:00
Joshua McCloskey
ee5ddeda6f Fixed issue with pattern not appearing disabled.
Test: Verified that the pattern option now appears disabled when
setting up COPE profile
Fixes 288081292

Change-Id: I43992dc4518a47a41e58e7b9cfd47fb22542e749
2024-05-16 19:13:24 +00:00
Manish Singh
a270176634 Apply the AlertDialog theme
so that the correct colors are applied when the system contrast is
changed.

Bug: 335712994
Test: manual
Change-Id: I2f6ba3360fc4935db302e8d89f4df8d200a43a29
2024-05-16 18:26:34 +00:00
Isaac Chai
504ac0cf2a Merge "Color correction saturation level settings" into main 2024-05-16 17:27:26 +00:00
Hakjun Choi
2bc6d77cbf Add activity expose condition for Satellite messaging activity
In case carrier_enabled_satellite_flag or KEY_SATELLITE_ATTACH_SUPPORTED_BOOL is not supported, activity invocation intent will be ignored.
Because the guidance description of the activity cause misunderstanding to users when the satellite feature is not set properly.

Bug: 338377564
Test: manual test adb shell am start -a "android.settings.SATELLITE_SETTING" --ei sub_id (test sub id) for each key's enable/disable combination for KEY_SATELLITE_ATTACH_SUPPORTED_BOOL and carrier_enabled_satellite_flag
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:308ced3fc8e69378611ce333ed5f0e8337ff91fe)
Change-Id: Ib5401f433f802e7aa74cc175179776deb576edfc
2024-05-16 15:32:30 +00:00
Edgar Wang
f78febfa69 Fix SettingsHomepageActivityTest failed
Change-Id: I58a9e0820cc7ee55d8360ed8511ad5d9a4786830
Fixes: 341046261
Test: robotest
2024-05-16 13:36:36 +00:00