Commit Graph

146252 Commits

Author SHA1 Message Date
Mill Chen
c210dc981c [Catalyst] Implement get{Read,Write}Permissions for Media volume
NO_IFTTT=Catalyst only

Fix: 386143376
Test: devtool
Flag: com.android.settings.flags.catalyst_sound_screen
Change-Id: I1909c32ae1d067b095208b4a65ad53bd7080acf1
2024-12-27 04:45:51 +00:00
Jacky Wang
63a14901aa Revert "[Expressive design] Update MainSwitch in SettingsActivity."
This reverts commit b7e0923414.

Reason for revert: Cause regression b/385850462

Change-Id: I82992d428ea985bc2a762854df2abd555cc4a467
2024-12-26 20:44:31 -08:00
Jason Chiu
2485a07426 [Catalyst] Implement get{Read,Write}Permissions for Bluetooth
NO_IFTTT=Catalyst only

Fix: 385271230
Flag: com.android.settings.flags.catalyst_bluetooth_switchbar_screen
Test: devtool
Change-Id: I697a088d13fa019158c89835adb95759f7d30da7
2024-12-27 12:42:09 +08:00
Mill Chen
5da3d3390a [Catalyst] Implement get{Read,Write}Permissions for Ring volume
NO_IFTTT=Catalyst only

Fix: 386143268
Test: devtool
Flag: com.android.settings.flags.catalyst_sound_screen
Change-Id: I8ed7fa1d6a857d64896b33a80e17f7e08808bbaf
2024-12-27 04:37:43 +00:00
Treehugger Robot
5911efa204 Merge "[Catalyst] Implement get{Read,Write}Permissions for Airplane mode" into main 2024-12-26 20:34:17 -08:00
Yining Liu
38537f8129 Inverse toggles on the notifications on locks screen settings page
Inverse the toggles on the notifications on locks screen settings page
to consistently make ON = SHOW.

Bug: 367455695
Flag: com.android.server.notification.notification_lock_screen_settings
Test: manual, atest LockScreenNotificationShowSensitiveControllerTest
Change-Id: I6e34ef9b89f4c0ad058bf740bafb3c83790201c0
2024-12-27 00:06:47 +00:00
Yining Liu
b5fa953d4a Update appearance of notifications on locks screen settings page
Added `What to show on lock screen` section title. Changed the order
of switches according to the latest design. Updated texts.

Bug: 367455695
Flag: com.android.server.notification.notification_lock_screen_settings
Test: manual
Change-Id: Ia8d472ead290c1a1ec0eeb34bc8a11cd31c6870c
2024-12-27 00:06:47 +00:00
Yining Liu
7c8e313d11 Remove description from notifications on locks screen settings page
Remove the text descriptions for the notifications minimalism
style from the notifications on locks screen settings page.

Bug: 367455695
Flag: com.android.server.notification.notification_lock_screen_settings
Test: manual
Change-Id: Icf4e70033dab7aea829a09a6277b47da66efbd01
2024-12-27 00:06:46 +00:00
Aishwarya Mallampati
6edebba10e Address API review comments.
Bug: 384876570
Test: make
Flag: com.android.internal.telephony.flags.satellite_system_apis
Change-Id: I5bdbe2ebbb5bb39969d6252814e067420a1eb7bc
2024-12-26 15:29:04 -08:00
Treehugger Robot
3e0646d831 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-12-26 11:58:01 -08:00
Treehugger Robot
ec92c948c5 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-12-26 11:58:01 -08:00
Yuri Lin
0e3f407f7d Merge "Add setting for promoted (live) notifications" into main 2024-12-26 10:30:28 -08:00
Yuri Lin
d5c0851c0b Add setting for promoted (live) notifications
Add a switch to control whether live notifications are permitted for an app, at the top of the app's notification settings page. This controls canPostPromotedNotifications() for that app.

Bug: 369150427
Flag: android.app.ui_rich_ongoing
Test: manual, PromotedNotificationsPreferenceControllerTest
Change-Id: I3a7c05721f1e879fb5fb0f5fb5f283dedbd195da
2024-12-26 11:09:08 -05:00
Mill Chen
78c1643b92 [Catalyst] Implement get{Read,Write}Permissions for Vibration & haptics
NO_IFTTT=Catalyst only

Fix: 385745664
Test: devtool
Flag: com.android.settings.flags.catalyst_vibration_intensity_screen
Change-Id: I5a6dad4570feb7d313c781ae8e57934ffe417a61
2024-12-26 10:41:30 +00:00
Jason Chiu
d1066117f7 [Catalyst] Implement get{Read,Write}Permissions for Airplane mode
NO_IFTTT=Catalyst only

Fix: 385265477
Flag: com.android.settings.flags.catalyst_network_provider_and_internet_screen
Test: devtool
Change-Id: Ib357563787f01dead06c1167a1a5a9ad4a268082
2024-12-26 17:16:02 +08:00
Jason Chiu
1c0cc38992 [Catalyst] Implement get{Read,Write}Permissions for Data Saver
NO_IFTTT=Catalyst only

Fix: 385050976
Flag: com.android.settings.flags.catalyst_restrict_background_parent_entry
Test: devtool
Change-Id: I3799007586f5a5b26fa20f077a311313bb35e2c3
2024-12-26 17:09:59 +08:00
Jason Chiu
1568db6ea4 [Catalyst] Implement get{Read,Write}Permissions for Adaptive connectivity
NO_IFTTT=Catalyst only

Fix: 385266011
Flag: com.android.settings.flags.catalyst_adaptive_connectivity
Test: devtool
Change-Id: I06505cc934ad829edb6a9b62ec0848cedcc814a2
2024-12-26 16:10:41 +08:00
Jason Chiu
0fe222774d [Catalyst] Implement get{Read,Write}Permissions for Wi-Fi
NO_IFTTT=Catalyst only

Fix: 385268791
Flag: com.android.settings.flags.catalyst_internet_settings
Test: devtool
Change-Id: I136aacd63d079a8d3bfafba3b0aa3fd92bd582a4
2024-12-26 16:02:49 +08:00
Yuchen Sun
0f1c0f3ceb Merge "[Expressive design] Update wifi entry preference padding." into main 2024-12-25 22:43:29 -08:00
Chaohui Wang
a202d9f94d Merge "Clean up UiccInfoEntity" into main 2024-12-25 17:22:37 -08:00
Treehugger Robot
4e83c1ca21 Merge "Show GSM settings with CDMA phone type" into main am: 9e1b206016 am: e310b7ac55
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3387241

Change-Id: I846ce388894a08ab8b28ed6be320a4f0928624ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-25 13:43:49 -08:00
Treehugger Robot
e310b7ac55 Merge "Show GSM settings with CDMA phone type" into main am: 9e1b206016
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3387241

Change-Id: I4a9fb12ab6cac10d9545df6eaf9ab1d0ebe76768
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-25 13:08:40 -08:00
Treehugger Robot
9e1b206016 Merge "Show GSM settings with CDMA phone type" into main 2024-12-25 12:38:11 -08:00
Sunny Shao
d303ef8ce4 [Catalyst] Implement get{Read,Write}Permissions for Use Battery Saver
NO_IFTTT=Catalyst migration

Test: Devtool
Fix: 385304550
Flag: com.android.settings.flags.catalyst_battery_saver_screen
Change-Id: I521f886b83fb68849d0fc4d22024e24caa54b9fc
2024-12-25 23:26:20 +08:00
Weng Su
955c862de1 Add talkback hint to Wi-Fi hotspot preferences
- Set the title as the edit box hint.

Bug: 385857484
Flag: EXEMPT bugfix
Test: Manual testing
atest -c com.android.settings.wifi.tether.WifiTetherPasswordPreferenceControllerTest \
         WifiTetherSSIDPreferenceControllerTest

Change-Id: Ie7fe1c29d5f45ce47c7f393bf433ed3b2bcacb59
2024-12-25 22:10:31 +08:00
Treehugger Robot
12966f2608 Merge changes from topic "catalyst-battery" into main
* changes:
  [Catalyst] Implement get{Read,Write}Permissions for Battery percentage
  [Catalyst] Implement get{Read,Write}Permissions for Battery level
2024-12-25 01:52:05 -08:00
Treehugger Robot
6e27501831 Merge "[Catalyst] Implement get{Read,Write}Permissions for Always show time and info" into main 2024-12-25 00:55:18 -08:00
Treehugger Robot
0fef86f3f3 Merge "Fix TetherPreference summary missing" into main 2024-12-25 00:40:48 -08:00
Jacky Wang
68ddca4c9a [Catalyst] Implement get{Read,Write}Permissions for Battery percentage
NO_IFTTT=Catalyst only

Fix: 385288692
Flag: com.android.settings.flags.catalyst_power_usage_summary_screen
Test: devtool
Change-Id: I42ba759cac04ffc41787b0fca3e04f64584c57c9
2024-12-25 16:38:02 +08:00
Jacky Wang
13cac3971e [Catalyst] Implement get{Read,Write}Permissions for Battery level
NO_IFTTT=Catalyst only

Fix: 385290271
Flag: com.android.settings.flags.catalyst_power_usage_summary_screen
Test: devtool
Change-Id: I30e2a698a9d8544684b4369519d174aba560e566
2024-12-25 16:37:53 +08:00
Treehugger Robot
92eac696e5 Merge "[Catalyst] Implement get{Read,Write}Permissions for Brightness level" into main 2024-12-25 00:22:46 -08:00
Treehugger Robot
44fc477d87 Merge "[Catalyst] Implement get{Read,Write}Permissions for Adaptive brightness" into main 2024-12-25 00:04:04 -08:00
shaoweishen
33f62b4e01 [Physical Keyboard] Add Metrics event for keyboard relates pages
Bug: 377602364
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Test: atest packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod
Change-Id: I28fc5c7676dcce2ad4aa63ea5745f5597558b0c1
2024-12-25 07:39:49 +00:00
Chaohui Wang
554da2d561 Fix TetherPreference summary missing
PreferenceController need a constructor(context, key) to work in xml.

Bug: 377146536
Flag: EXEMPT bug fix
Test: manual - on Network & internet
Change-Id: Ib3c0155eacdff128333abf04a8103300623f4c2a
2024-12-25 15:23:13 +08:00
Sunny Shao
249a4426b6 [Catalyst] Implement get{Read,Write}Permissions for Adaptive brightness
NO_IFTTT=Catalyst migration

Test: Devtool
Bug: 385266613
Flag: com.android.settings.flags.catalyst_display_settings_screen
Change-Id: I32e8b5e30269397b6198bcd87d366ada73d84893
2024-12-25 14:48:57 +08:00
Sunny Shao
1f5b0e9a7c [Catalyst] Implement get{Read,Write}Permissions for Always show time and info
NO_IFTTT=Catalyst migration

Test: devtool
Bug: 385272042
Flag: com.android.settings.flags.catalyst_lockscreen_from_display_settings
Change-Id: I67513e205113df531accd9f84480d7921144df52
2024-12-25 14:14:26 +08:00
Daniel Huang
abf6c94d7d Merge "Show dialog when user chnages the region" into main 2024-12-24 21:55:39 -08:00
danielwbhuang
833a0e3c92 Show dialog when user chnages the region
1. show dialog
2. change the region of the top locale

Bug: 385047778
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv, atest
Change-Id: I9746cdec670899b3768dcd1e0aa59e1959dd7e06
2024-12-25 12:00:09 +08:00
Yuchen
ccf8ae4fa3 [Expressive design] Update wifi entry preference padding.
Bug: 349681531
Flag: EXEMPT migration
Test: visual
Change-Id: I511d2b3e183472a12fdd07a293eda4c04617bc6c
2024-12-25 03:19:55 +00:00
Jacky Wang
e7fbf8f92c [Catalyst] Refactor DarkModeScreen
By virtue of KeyValueStore abstraction, the per-fragment state could be
moved into storage.

NO_IFTTT=Catalyst only

Bug: 375132235
Flag: com.android.settings.flags.catalyst_dark_ui_mode
Test: Manual
Change-Id: Ifff1c6e0b51cda981337b84008713c35a0a724ea
2024-12-25 10:39:25 +08:00
Sunny Shao
0ef3c2ca0d [Catalyst] Implement get{Read,Write}Permissions for Brightness level
NO_IFTTT=Catalyst migration

Test: Devtool
Fix: 385035021
Flag: com.android.settings.flags.catalyst_display_settings_screen
Change-Id: Idf07b75ab9776b33bcddb1ffc93eca7594524c14
2024-12-25 10:32:58 +08:00
Chaohui Wang
a16f8fcf53 Clean up UiccInfoEntity
It's not used any more.

Bug: 348118234
Flag: EXEMPT clean up
Test: manual - on Mobile Settings
Test: atest DefaultSubscriptionControllerTest
Change-Id: I663efc1bb53230c34bc30641703e78fb170772d8
2024-12-25 10:12:29 +08:00
Treehugger Robot
3b54bb45e6 Merge "[Catalyst] Implement get{Read,Write}Permissions for Dark theme" into main 2024-12-24 06:23:28 -08:00
Treehugger Robot
ba8348c6a2 Merge "[Catalyst] Implement get{Read,Write}Permissions for Screen attention" into main 2024-12-24 04:03:33 -08:00
Treehugger Robot
571800ddc2 Merge "[Catalyst] Implement get{Read,Write}Permissions for Smooth display" into main 2024-12-24 02:05:21 -08:00
Sunny Shao
79004d10f0 [Catalyst] Implement get{Read,Write}Permissions for Screen attention
NO_IFTTT=Catalyst migration

Test: devtool
Fix: 385274700
Flag: com.android.settings.flags.catalyst_screen_timeout
Change-Id: I77c4584fa92713854520594a1bdb9448937d14fb
2024-12-24 00:59:20 -08:00
Shawn Lin
1ef5e68927 Merge "Revert "[Biometric Onboarding & Edu] Update Set up Fingerprint/F..."" into main 2024-12-23 23:10:08 -08:00
Menghan Li
242b3b8abd Merge changes I97841c5b,I64e47f92 into main
* changes:
  feat(EDT): Update the preference interaction and visiblity logic
  feat(EDT): Migrate entry into Display Settings
2024-12-23 22:00:42 -08:00
Treehugger Robot
8e86a05eab Merge "Avoid string mismatch of menu name and dialog title" into main 2024-12-23 20:38:18 -08:00
Menghan Li
dfb3c5b881 feat(EDT): Update the preference interaction and visiblity logic
The EDT toggle will be an subsetting in the DarkTheme settings page
- When the Dark Theme main toggle is on, we check the EDT setting to
decide applying normal DarkTheme or EDT now.
- The EDT preference is disabled when DarkTheme is off

Bug: 368721320
Flag: android.view.accessibility.force_invert_color
Test: atest ToggleForceInvertPreferenceControllerTest
Change-Id: I97841c5b2f03c8c0fb37e0be309d15f312bfedbd
2024-12-24 04:02:13 +00:00