Commit Graph

141459 Commits

Author SHA1 Message Date
Treehugger Robot
1714253488 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: b26c34ad8b -s ours
am skip reason: contains skip directive

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

Change-Id: Iada0e4d36dec87b47d1c2c05791ad797b9386c61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 18:46:54 +00:00
Bill Yi
5c04d8dc09 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b64dc1cbdb -s ours
am skip reason: contains skip directive

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

Change-Id: I1b39688c5ae193057771b020c242cb496ab47a61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 18:46:45 +00:00
Bill Yi
a2204d9a0c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 69d5f22731 -s ours
am skip reason: contains skip directive

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

Change-Id: I5addc8175e2b6f1a617cb8dbe6e7e3b3906816b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 18:46:34 +00:00
Treehugger Robot
17850eba10 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod 2024-05-29 18:39:00 +00:00
Treehugger Robot
b26c34ad8b Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-05-29 18:38:20 +00:00
Julia Reynolds
2af266f423 Update check boxes to switches
To match the rest of the settings

Test: ZenModeNotifVisPreferenceControllerTest
Bug: 337087926
Flag: android.app.modes_ui
Change-Id: I193db8404a3b6c8bdacbbb9e19e3a7c1826d745f
2024-05-29 18:35:31 +00:00
Yuri Lin
f29f44296a Add page for choosing calendar & reply for event modes.
Also adds the link to set trigger behavior to the main mode page (only for calendar so far), and the switch preference to enable/disable automatic rules (for all but manual DND mode).

Removes the "escape hatch" to allow manual mode to also use the new modes pages.

Ported from ZenModeEventRuleSettings.

Flag: android.app.modes_ui
Bug: 332730302
Test: ZenModeSetCalendarPreferenceControllerTest, ZenModeSetTriggerLinkPreferenceControllerTest, manual
Change-Id: Ia7a716c66663a21494a6c05711250a5bda87ca8c
2024-05-29 17:29:23 +00:00
Vlad Marica
e968a66489 Merge "Ignore OEM Unlocking when wiping PDB during factory reset on V+" into main 2024-05-29 16:23:18 +00:00
Austin Wang
0e97f03274 Merge "Add "icons" search term for Wallpaper & style" into main 2024-05-29 16:03:04 +00:00
Alexander Roederer
4e10ac8dae Merge changes from topic "b308819928-ModesSettingsAppBreakthroughPage" into main
* changes:
  Moves ZenModeBypassingAppsSettings into modes dir
  Adds modes settings page for bypassing apps
2024-05-29 14:20:02 +00:00
Alexander Roederer
c50457613e Moves ZenModeBypassingAppsSettings into modes dir
Copies these files into modes dir, so we can continue to deprecate the
old zen directory

Bug: 308819928
Test: flash+test, atest ZenModeAllBypassingAppsPreferenceControllerTest,
atestZenModeAddBypassingAppsPreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: Ib18930bb16a3d675e460028f5c52ef32060541ad

Change-Id: Id6c8d834bbd106fef068c5f04acf8cd71229a5e3
2024-05-29 12:23:59 +00:00
Weng Su
4a4131fcb3 Restrict WifiDppConfiguratorActivity
- Don't show WifiDppConfiguratorActivity if user has DISALLOW_ADD_WIFI_CONFIG

- Don't show AddNetworkFragment if user has DISALLOW_ADD_WIFI_CONFIG

Fix: 299931076
Flag: None
Test: manual test with TestDPC
atest -c SettingsUnitTests:AddNetworkFragmentTest \
         SettingsUnitTests:WifiDppConfiguratorActivityTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2101258e8a21e7c983c6b000209f60c22bb3bfd4)
Merged-In: I34afe0f698e2dc43eba59b25f5f3f4f61e70166a
Change-Id: I34afe0f698e2dc43eba59b25f5f3f4f61e70166a
2024-05-29 11:26:17 +00:00
Liahav Eitan
310fc717c4 Merge "Increase char limit for add_device_admin_msg" into main 2024-05-29 10:39:42 +00:00
Jigar Thakkar
379a0af7b0 Merge "Do not request confirmation by default for private space unlocks" into main 2024-05-29 10:29:05 +00:00
Edgar Wang
fc53dbe13b Merge "Fix homepage icon didn't hide in portriat mode" into main 2024-05-29 08:56:32 +00:00
Edgar Wang
fb30cb68cf Fix homepage icon didn't hide in portriat mode
- also fix don't tint homepage icons when homepage_revamp enabled

Bug: 343162224
Test: manual
Change-Id: I85b65239cb852cd914a5fd889ec366bf336fd446
2024-05-29 08:54:12 +00:00
Yiyi Shen
bfdcc82dc7 [Audiosharing] Add flag to start broadcast with no lea headset connected
Allow audio sharing with no connected le audio headset when settings_need_connected_ble_device_for_broadcast is false

Bug: 343277847
Test: atest
Change-Id: I560338d53ddf290550faf8198cd7173bb734d150
2024-05-29 15:46:37 +08:00
Tom Hsu
c3e9cd5969 Merge "Fix Crash due to runtime exception from CarrierManager" into main 2024-05-29 06:38:30 +00:00
Bill Yi
e5a29ecbb5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I601d614a72a4d1b3d67b9b88e5717a5243dfb11b
2024-05-28 22:20:44 -07:00
Bill Yi
b64dc1cbdb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I167a2ec1fe7d85159293889ad39457f59dfca45e
2024-05-28 22:18:39 -07:00
Bill Yi
69d5f22731 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I92e35e96af8bdaf40189cb4418ab20163c081aaf
2024-05-28 22:15:18 -07:00
Bill Yi
deb9aa4f2c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I538f774862561a3af25bb1ddc6f08f295603e9a6
2024-05-28 22:14:26 -07:00
Bill Yi
88815b8cbf Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib10266f4f4e744e3115e97b717aa6068ad3e6be6
2024-05-28 22:12:56 -07:00
tomhsu
a5f3d46539 Fix Crash due to runtime exception from CarrierManager
Fix: 329754400
Test: atest passed
Change-Id: I6065160dcd15d547241dd8bc0f9f99c336c59625
2024-05-29 05:11:59 +00:00
Bill Yi
a27faaa3ed Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ice51fda33549e4d4e95a29e5c3e6f99b1213ccba
2024-05-28 22:11:35 -07:00
Tom Hsu
49abe4c03d Merge "Fix when edittext only has space and cause name look like blank" into main 2024-05-29 05:08:07 +00:00
Treehugger Robot
d20abfa4c8 Merge "Reduce the number of calls to updateAllPreferences" into main 2024-05-29 04:45:59 +00:00
Chaohui Wang
48e3f2a882 Merge changes Iccd209fd,Ia0c32882 into main
* changes:
  Refactor signal strength in SIM status
  Refactor SimStatusDialogRepository
2024-05-29 04:13:32 +00:00
Jason Chiu
5d44b3f0c8 Merge "Suppress rawData settings from indexing when page is disabled for search" into main 2024-05-29 03:51:38 +00:00
tomhsu
d5556c59e9 Fix when edittext only has space and cause name look like blank
fix: 335763360
Test: Manual test. see b/335763360#comment14
Test: atest passed
Change-Id: I9ebae13039d7b78b7acfea545a89d3096aa82c31
2024-05-29 03:42:35 +00:00
Sunny Shao
c725c5ba5a Split ChangeReason and decouple it from Observer
Observer is flexible to be used for other scenarios.

Bug: 325144964
Test: atest SettingsLibDataStoreTest
Test: atest com.android.settings.fuelgauge
Change-Id: I50c0c6267b29460efa3861e609d64a4d92db7b89
2024-05-29 11:39:23 +08:00
Chun-Ku Lin
774bbc1ff2 Reduce the number of calls to updateAllPreferences
We call updateAllPreferences in onCreate and onResume. If we always call
the method in onResume, the call in onCreate seemed redundant.

Bug: 327052480
Flag: EXEMPT low risk bugfix
Test: manual (able to see the accessibility screen as before)
Test: atest com.android.settings.accessibility
Change-Id: I40b44ed6b667f7b1375ec0e339fc2b28a3f70dc5
2024-05-29 03:15:15 +00:00
Chun-Ku Lin
a384bb2cbc Merge "Use CheckFlagsRule when the test requires the device's implementation" into main 2024-05-29 03:10:17 +00:00
Jason Hsu
e6c6b24f1e Merge "Add Quick Settings shortcut option into Hearing Devices accessibility settings page" into main 2024-05-29 02:55:37 +00:00
Joseph Vincent
9ebdedd2f6 Merge "Private space auto lock on device restart during setup" into main 2024-05-29 02:12:44 +00:00
Chun-Ku Lin
88414d4e4b Replace Magnification preview
Bug: 326229430
Bug: 324312956
Test: manual (View the image on the Magnification page in DT/LT)
Flag: EXEMPT low risk
Change-Id: I991104a2aaf2768ded9fb57d88a93ae725d60303
2024-05-29 01:44:48 +00:00
Chun-Ku Lin
833bbccd30 Update a11y shortcut images
- Update QS, gesture, volume keys shortcut type images
- Change FAB image to animated image
- Change 2-finger double tap, triple tap animated images
- Fix the alpha value set in the FAB preview

Bug: 324312956
Test: Run and view the images
Test: atest com.android.settings.accessibility
Flag: EXEMPT low risk, resource change
Change-Id: Ic0f1953ca20fc8a3dc7b684f95ee18dae67c4f09
2024-05-29 01:43:44 +00:00
Chun-Ku Lin
0122f8a1dc Use CheckFlagsRule when the test requires the device's implementation
Bug: 341699461
Test: atest com.android.settings.accessibility on next-userdebug build
Flag: TEST_ONLY
Change-Id: I348252519a8af4b7c890b4e8a03752c918c94b94
2024-05-29 01:35:09 +00:00
Jason Chiu
b86569b274 [RESTRICT AUTOMERGE] Replace getCallingActivity() with getLaunchedFromPackage()
getLaunchedFromPackage() reports who launched this Activity or built
PendingIntent used to launch it, whereas getCallingActivity() reports
who will get result of Activity.

Bug: 316891059
Bug: 333364513
Test: robotest, manual
Change-Id: If97018c2741caef622f0596bbfeaa42ef1788b78
(cherry picked from commit ddc11bc03a)
2024-05-29 01:31:38 +00:00
Android Build Coastguard Worker
a5318986ea Snap for 11896415 from 7b986e7e45 to 24Q3-release
Change-Id: I1a2802b48689071a6a9d6a3a863ef068bc12ee84
2024-05-28 23:22:39 +00:00
Austin Wang
309599bd37 Add "icons" search term for Wallpaper & style
"Themed": handled by "theme"
"Themed icon": handled by "icon"
"Themed icons": missing, should be handled by "icons"

Flag: EXEMPT bugfix
Fixes: 328165760
Test: manual
Change-Id: I58dc6e02c995423aa1b5e12e7c0326f57f472248
2024-05-28 15:16:44 -07:00
Alexander Roederer
c512046eb9 Adds modes settings page for bypassing apps
Adds the settings page that a user will reach from a mode settings page
when they tap on "App," to allow  them to select whether all, none, or
priority modes can break through and send notifications.

Bug: 308819928
Bug: 331267485
Flag: android.app.modes_ui DEVELOPMENT
Test: build and test, controller unit tests
Change-Id: I5bcebfca0fc2882f839afdced8d2b817dad14e6c
2024-05-28 22:12:27 +00:00
Nate Myren
7667643ef6 Convert clipboard access to use new APIs
Convert the preferences for the clipboard access
notifications to use the new API values

Bug: 263305143
Test: manual
Change-Id: I3b366ff43afabf5664847040b1fb096caed4ef8c
2024-05-28 20:30:48 +00:00
Kevin Liu
1df39c3d5f Merge "Add strict_mode: false" into main 2024-05-28 20:09:07 +00:00
Julia Reynolds
a5a7c14b0f Merge "Add button for activating modes manually" into main 2024-05-28 20:08:25 +00:00
SongFerng Wang
b462f9fa11 Merge "The pages of sim onboarding flow is wrong." into main 2024-05-28 19:58:55 +00:00
David Jacobo
7b986e7e45 Merge "Revert "settings: Make use of ACTION_NETWORK_PROVIDER_SETTINGS"" into main 2024-05-28 19:38:10 +00:00
Lucas Silva
593ab5ee2d Merge "Fix CommunalPreferenceControllerTest" into main 2024-05-28 19:13:36 +00:00
Bill Yi
c9bd94276d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8aa583506f -s ours
am skip reason: contains skip directive

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

Change-Id: I2acb88144d2ea3b5a3ee934d8b337316a842c581
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-28 18:58:56 +00:00
Bill Yi
92d1924f2b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f24ce25bf0 -s ours
am skip reason: contains skip directive

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

Change-Id: I3a6f0019697c30170185764243f966983681deb0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-28 18:56:08 +00:00