* changes:
Replace the existing notifications on lock screen preferences with new page
Implement the preference switch for minimalism on ls settings page
Implement the Hide seen notifications toggle
Implement the hide silent notifications toggle
Implement the show sensitive content toggle
Implement the main switch of notifications on lock screen
Add the new settings page for lock screen notifs
Implement the preference switch for notification minimalism on the
notifications on lock screen settings page. The illustrations and
summaries will also update when switching the preference. This
preference will hide when the main toggle is unset or when the lock
screen notification minimalism feature flag is disabled.
Bug: 367455695
Flag: com.android.server.notification.notification_lock_screen_settings
Test: adb shell settings get secure \
lock_screen_notification_minimalism <1|0>
Change-Id: Ie6596e518bd1aa2e828587d7d174b57256aec45b
Implement the Hide seen notifications toggle on the notifications on
lock screen page. The toggle will become invisible
when the main toggle is unset or when the lock screen notification
minimalism feature flag is disabled.
Bug: 367455695
Flag: com.android.server.notification.notification_lock_screen_settings
Test: adb shell settings get secure \
lock_screen_show_notifications <1|0>
Change-Id: I6f94be3295dfbaa978d145d113e03cacc1a232fc
Implement the hide silent notifications toggle on the notifications
on lock screen page. This toggle will become invisible when the main
toggle is unset. This toogle will replace the existing Notifications
- notifications on the lock screen - hide silent conversations and
notifications preference when the flag is enabled.
Bug: 367455695
Flag: com.android.server.notification.notification_lock_screen_settings
Test: adb shell settings put secure \
lock_screen_show_silent_notifications <1|0>
Change-Id: Icc0b26afd199ec3f14237fd1cdb27981383ae69f
Implement the show sensitive content only when unlocked toggle on the
notifications on lock screen page. The toggle will become invisible
when the main toggle is unset or when there's no screen locks.
Bug: 367455695
Flag: com.android.server.notification.notification_lock_screen_settings
Test: adb shell settings get secure \
lock_screen_allow_private_notifications <1|0>
Change-Id: I174478540c4cc2e2df7047049671266041dd41cf
Add the ability of controlling whether to show notifs on the lock
screen (secure setting: lock_screen_show_notifications) to the new
lock screen notification settings page main switch. This switch also
listens to the change of lock_screen_show_notifications to update
its status in case of other places change the value.
Bug: 367455695
Flag: com.android.server.notification.notification_lock_screen_settings
Test: atest LockScreenNotificationsPreferenceControllerTest
Change-Id: Id598d508ac383563a0d9413578251eb22ed4ca90
Use IntroPreference to show apps' icon and label in
(1) App info > App battery usage page
(2)App info > App battery usage > Allow background usage
Bug: 349652542
Test: visual
Flag: EXEMPT flag by System prop
Change-Id: I44f3369e48f073d98455fcab3ccd10ffecdb8d66
Add a new empty settings page, which is flag-guarded. When the flag
is disabled, show the original Notifications on lock screen
tri-state switch, otherwise show the new page.
Bug: 367455695
Flag: com.android.server.notification.notification_lock_screen_settings
Test: atest LockScreenNotificationsPreferenceControllerTest
Change-Id: I8a81ad651626f39380767b2c9cfa2f1c19d0e7c5
Creates illustration for when double tap power gesture is set to open
wallet and preference controller to alternate illustration based on gesture
target action
Android Settings Feature Request: b/380287172
Test: atest DoubleTapPowerIllustrationPreferenceControllerTest
Test: manually verified illustration corresponds to selected target
action
Bug: 381789181
FLAG: android.service.quickaccesswallet.launch_wallet_option_on_power_double_tap
Change-Id: Id73a38e09bd72856d46d74f04c0c0d2b3f989929
Modify Double Tap Power Gesture Settings screen to be able to set the
gesture to launch the wallet.
If the feature flag is disabled, the
Double Tap Power Gesture Settings screen defaults to the current
screen ("Quickly open camera"), which only provides the option to open the camera upon detecting the
gesture.
If the feature flag is enabled, the Double Tap Power Gesture Settings
screen defaults to the new "Double Tap Power Button" screen, which
provides the option to open the camera, the wallet, or neither upon
detecting the gesture.
Android Settings Feature Request: b/380287172
Bug: 378131008
Test: manual tested screen alternates based on feature flag
Test: atest DoubleTapPowerSettingsTest
Test: atest DoubleTapPowerPreferenceControllerTest
Test: atest DoubleTapPowerToOpenCameraPreferenceControllerTest
FLAG: android.service.quickaccesswallet.launch_wallet_option_on_power_double_tap
Change-Id: I1fc05ab3cfee2e86a80a1756655c368aae16747c
DoubleTapPreferenceController was previously used as the controller for
the "Quickly open camera" entry in the "System > Gestures" screen and as the controller for
the toggle in the ["System > Gestures > Quickly open camera" screen.
This CL separates the DoubleTapPowerPreferenceController into two new
controllers to handle each case:
- Double Tap Power Preference Controller to control the "Quickly open camera" entry
- Double Tap Power To Open Camera Preference Controller to control the
gesture's enable/disable toggle.
Android Settings Feature Request: b/380287172
Bug: 381499912
Test: atest DoubleTapPowerPreferenceControllerTest
Test: atest DoubleTapPowerToOpenCameraPreferenceControllerTest
FLAG: android.service.quickaccesswallet.launch_wallet_option_on_power_double_tap
Change-Id: I73fc7d97e1e330163858a60a4ba9a63bd9b5574f
- This is a entry to start Satellite SOS pagein mobile network page.
Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/370509415
Test: atest pass
Change-Id: I3978513b15ad498b9b8ea298060d89fd35efc7ed
Screenshots:
* The new setting: http://shortn/_9JL6nMS3cR
* The disabled "Learn touchpad gestures" button and accompanying footer
when the setting is off: http://shortn/_FTcNTQAGYj
Test: disable the setting, check three- and four-finger swipes on the
touchpad stop working; re-enable, check they work again
Test: check the toggle and heading both hide correctly when flag is off
or no touchpad is connected
Test: check the "Learn touchpad gestures" button is disabled with an
explanation when gestures are disabled
Bug: 353947750
Bug: 374965372
Flag: com.android.hardware.input.touchpad_system_gesture_disable
Change-Id: Ie7a6ea4e9ddd34710d07f78ab96598207aac4228
* changes:
[PixelCare] Catalyst migration for battery header
Remove BatteryHeaderPreferenceController usage in PowerUsageSummary.
Split battery header text to a separated preference
1. add a new category
2. move App languages preference to the new category
Bug: 379962955
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv and atest ManageApplicationsTest, AppLocalePreferenceControllerTest
Change-Id: Ie6bdcb1899b705cff48ce3be9c0d0b060be8ee72
This is a no-op refactor. This change makes the Catalyst migration of battery level bar easy.
Bug: 372774754
Test: manual
Flag: EXEMPT bug fix
Change-Id: I6e64e6d9b34aeca584f4d4e951c58c3e1b361f9d
- Satellite preferences may show on by deifferent reason. To fullfill
these conditions, let category be able to dynamically show on base on
the preference exist or not.
- Show string of Connectivity or Messaging for service state change.
Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/378408939
Test: atest pass
Test: make pass
Change-Id: Ibb0f9089805bb35d0334603e55d292c9883262ff
There are duplicate a11y focuses in the App Notifications subpage.
See the bug for more details.
To fix the App, we will make the LayoutPreference unselectable,
which makes the internal FrameLayout unfocusable.
To fix the Switch, we can disable its focusability.
This will make the FrameLayout the only focusable view for the
Main Switch Bar. This a11y fix applies to all instances of
SettingsMainSwitchPreference in the Settings app.
Bug: 306725248
Flag: EXEMPT bugfix
Test:
atest SettingsMainSwitchPreferenceTest
Manually tested the UI. The SettingsMainSwitchPreference
is also used in `Display & Touch > Adaptive brightness`,
`Accessibility > Caption Preference`, etc. The toggle acts as
expected in the pages.
Change-Id: I52b4965ac0ffc8d1576e8bc650715eb80ab4e8c7
This change includes these:
Regional preferences
-Temperature
-First day of week
-Numbering system
-Footer preference
Bug: 379962955
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv and atest FirstDayOfWeekControllerTest, NumberingSystemControllerTest, TemperatureUnitControllerTest
Change-Id: Icb628640c05f1f4bb974416c35dce16a14f84a6c
Add icon and launch intent for ColorAndMotionScreen, also update the
entrypoint preference key to make it identical with screen key.
Bug: 373451690
Flag: com.android.settings.flags.catalyst_accessibility_color_and_motion
Test: atest
Change-Id: I1040d6fa5e8c89ddb6117a4b7671fd22c5a96578
1. rename TrackpadSetting to TouchpadAndMouseSetting
to match more about usage.
2. Add separated pages for touchpad and mouse.
Gather options from current page and put it accordingly.
Please note that this change only add isolate files for pages
and didn't reference from anywhere, it will be done in next change.
This is part of feature for keyboard setting update.
document: go/new-a11y-touchpad-mouse-page
Bug: 377602364
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I9e18ce3fbc3617bfb6cef3c272f3cfcfd2ff8a37