Commit Graph

6832 Commits

Author SHA1 Message Date
Nikki Moteva
7313080e75 Merge "Settings: Fix the a11y focus issues in App Notifications subpage" into main 2024-12-02 10:57:46 +00:00
tomhsu
37ed715145 Completed basic UI of Satellite SOS
Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Bug: b/378408877
Test: Manual test
Change-Id: Iadef197b3da1008abedb88864f17087502ab7d36
2024-12-02 05:28:43 +00:00
Tom Hsu
4937645ce3 Merge "Create a Satellite SOS entry" into main 2024-11-29 09:18:37 +00:00
tomhsu
90092e7da4 Create a Satellite SOS entry
- 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
2024-11-29 07:19:36 +00:00
Fan Wu
4084b5603e Merge "Update BatteryHeaderPreference with storage and read permit" into main 2024-11-29 06:15:32 +00:00
Fan Wu
0dc50c4556 Update BatteryHeaderPreference with storage and read permit
Bug: 372774754

Test: atest and devtool test
NO_IFTTT=initial implementation

Flag: com.android.settings.flags.catalyst_power_usage_summary_screen
Change-Id: Idcf2241ccd52b2a8f19c1bb22577d7551ea1bc56
2024-11-29 04:03:51 +00:00
Treehugger Robot
1fd937f8ba Merge "[Catalyst] Vibration and haptics main switch migration" into main 2024-11-28 23:20:02 +00:00
Lais Andrade
08a7f6a5e7 [Catalyst] Vibration and haptics main switch migration
- Migrate "Use Vibration & haptics" main toggle in
  vibration settings screen.

- Add screen for VibrationScreen dashboard fragment

NO_IFTTT=introducing preference metadata files, no change in preference
controllers required.

Bug: 368360218
Flag: com.android.settings.flags.catalyst_vibration_intensity_screen
Test: VibrationIntensityScreenTest
      VibrationScreenTest
      VibrationMainSwitchPreferenceTest
Change-Id: I1dee7fdd59e093bd2dd12204554fe5198e7b76b4
2024-11-28 12:18:16 +00:00
Harry Cutts
c3dac34127 Merge "Add a11y setting for disabling touchpad system gestures" into main 2024-11-28 11:51:48 +00:00
tomhsu
22370a8a4a Make Satellite messageing dynamically change wording by network type
Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/378410271
Test: atest pass

Change-Id: I6d2d2ba656a6e2eb26ae103f8af84a1ce5fd49c8
2024-11-28 03:14:40 +00:00
Harry Cutts
b253005342 Add a11y setting for disabling touchpad system gestures
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
2024-11-27 16:10:54 +00:00
Zaiyue Xue
54cc16fd91 Merge changes from topics "battery_header_bar0", "battery_header_bar06", "battery_header_bar1" into main
* changes:
  [PixelCare] Catalyst migration for battery header
  Remove BatteryHeaderPreferenceController usage in PowerUsageSummary.
  Split battery header text to a separated preference
2024-11-27 02:17:04 +00:00
Daniel Huang
9fa8789fae Merge "Modify App languages entry" into main 2024-11-26 08:33:48 +00:00
danielwbhuang
f54048ad4c Modify App languages entry
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
2024-11-26 15:15:29 +08:00
Zaiyue Xue
8e6066f5d6 [PixelCare] Catalyst migration for battery header
NO_IFTTT=initialization

Bug: 372774754
Test: manual
Flag: com.android.settings.flags.catalyst_power_usage_summary_screen
Change-Id: Icc1c46069147830b3360a467ffc2e666dadd3ddd
2024-11-26 14:38:16 +08:00
Zaiyue Xue
178eb0bd15 Split battery header text to a separated preference
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
2024-11-26 13:09:12 +08:00
Treehugger Robot
29bb748539 Merge "Make UI and wording dynamically show on" into main 2024-11-26 04:47:40 +00:00
tomhsu
db43380380 Make UI and wording dynamically show on
- 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
2024-11-26 02:44:20 +00:00
Nikki Moteva
bc1b12db3a Settings: Fix the a11y focus issues in App Notifications subpage
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
2024-11-25 22:38:08 +00:00
Treehugger Robot
ba78d0de9f Merge "[Catalyst] Update ColorAndMotionScreen" into main 2024-11-25 18:18:37 +00:00
Daniel Huang
cc267e6a30 Merge "Use flag to control the hierarchy tree changes" into main 2024-11-25 15:34:57 +00:00
danielwbhuang
d53777f96d Use flag to control the hierarchy tree changes
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
2024-11-25 21:49:07 +08:00
Jacky Wang
1413f7428c [Catalyst] Update ColorAndMotionScreen
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
2024-11-25 11:59:35 +08:00
shaoweishen
2be5ef9426 [Physical Keybaord] Add keyboard touchpad/Mouse page - part1
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
2024-11-25 03:04:36 +00:00
Jacky Wang
8e73d0f51e [Catalyst] Update RemoveAnimationsPreference
Bug: 373451690
Flag: com.android.settings.flags.catalyst_accessibility_color_and_motion
Test: atest & devtool
Change-Id: Id648febf32bebb391f1277e28f58ddb0d5130d59
2024-11-23 06:24:13 +08:00
Riley Jones
51c3cb49b3 Merge "Top intro shouldn't be searchable" into main 2024-11-22 19:19:00 +00:00
Chun-Ku Lin
6b28741c38 Top intro shouldn't be searchable
Bug: 380361391
Test: manually search the top intro, it doesn't show up in the search
result
Flag: EXEMPT resource only

Change-Id: Ia69db552faa4238276560172c10684705ef28f5e
2024-11-22 04:49:19 +00:00
Priyanka Advani (xWF)
d5d59630b5 Merge "Revert "Use flag to control the hierarchy tree changes"" into main 2024-11-21 20:13:20 +00:00
Priyanka Advani (xWF)
2f996492ff Revert "Use flag to control the hierarchy tree changes"
This reverts commit 34ea3dc075.

Reason for revert: Droidmonitor created revert due to b/380258772. Will be verifying through ABTD before submission.

Change-Id: Ife4707fba00b52ade53eb6dc2f4bcd7a466afe0f
2024-11-21 18:57:44 +00:00
Treehugger Robot
0cf659c7b6 Merge "Remove selectability from pointer preferences." into main 2024-11-21 11:50:36 +00:00
Daniel Huang
c1e4b09f9a Merge "Use flag to control the hierarchy tree changes" into main 2024-11-21 10:55:35 +00:00
Jacky Wang
b6132572ea [Catalyst] Migrate "Lock screen" entry point
Bug: 372307567
Flag: com.android.settings.flags.catalyst_lockscreen_from_display_settings
Test: manual
Change-Id: I0c269c550c678362f345c9b5438a133c7a76fe10
2024-11-21 10:24:38 +08:00
Pat Manning
5641752fb1 Remove selectability from pointer preferences.
Fix: 379840620
Fix: 374902522
Fix: 374902467
Fix: 374898232
Fix: 374894728
Fix: 374894804
Test: Manual. Talkback, switch access, voice access.
Flag: EXEMPT BugFix.
Change-Id: I550bd78893124b453d49f98d51dab2f49bee84f7
2024-11-20 16:30:57 +00:00
danielwbhuang
34ea3dc075 Use flag to control the hierarchy tree changes
This change includes these:
1. App languages
2.Regional preferences
2-1. Temperature
2-2. First day of week
2-3. Numbering system
3. Terms of address

Bug: 379962955
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv and atest TermsOfAddressCategoryControllerTest,
FirstDayOfWeekControllerTest, NumberingSystemControllerTest, TemperatureUnitControllerTest
Change-Id: I9ae376f24ac4d1cf9a186ad3d77b539ac4b83642

Change-Id: I1b2f508f618fba94e67b5f8b102620837a6dda1c
2024-11-20 18:31:00 +08:00
Pat Manning
9ab4567c71 Merge "Add Settings page for three finger tap customization" into main 2024-11-20 08:21:07 +00:00
Daniel Norman
9ef696d0e8 Migrate Remove Animations preference to Catalyst backend.
This preference (and its test) has no flagging, but its parent
page 'Color and motion' is flagged for Catalyst migration.

This preference looks identical before and after migration.

Fix: 373451690
Flag: com.android.settings.flags.catalyst_accessibility_color_and_motion
Test: atest RemoveAnimationsPreferenceTest
Test: Enable our flag, and top-level Catalyst flag;
      Toggle the setting in Settings > Accessibility;
      Observe expected changes to animation behavior;
Change-Id: I07dbe45a120780439393d7cfd46a749025b7ab0c
2024-11-19 23:10:37 +00:00
Pat Manning
00ec5248cb Add Settings page for three finger tap customization
Test: TouchpadThreeFingerTapFragmentTest
Test: TouchpadThreeFingerTapPreferenceControllerTest
Flag: com.android.hardware.input.touchpad_three_finger_tap_shortcut
Bug: 376249366
Change-Id: I63a9a1cbe5f5ed644c39e1a30aa724ea9e5088cb
2024-11-19 20:29:43 +00:00
Treehugger Robot
770df52e47 Merge "[Satellite] Add category UI for Satellite functions" into main 2024-11-19 10:29:30 +00:00
tomhsu
c9017355d9 [Satellite] Add category UI for Satellite functions
Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/378408939
Test: atest pass
Test: make pass
Change-Id: Id0f2ba047f4ee71a9ae398aa828978097717ce1a
2024-11-19 09:22:49 +00:00
Xinyi Mao
9a18d2f170 Merge "Remove nested PreferenceCategory in Battery Usage page." into main 2024-11-18 04:56:11 +00:00
mxyyiyi
4c5f8481bd Remove nested PreferenceCategory in Battery Usage page.
https://screenshot.googleplex.com/83LwysPKMCRoRoG

Bug: 349652542
Test: atest BatteryUsageBreakdownControllerTest
Flag: EXEMPT for simple fix
Change-Id: If97b5e3de9757b814ad72aa47f6491d29106b8a3
2024-11-18 11:09:11 +08:00
Chris Antol
22306eb982 Add Special App Access page for WRITE_SYSTEM_PREFERENCES permission
Bug: 374848822
Flag: com.android.settingslib.flags.write_system_preference_permission_enabled
Flag: com.android.settingslib.flags.settings_catalyst
Test: in-app test
Change-Id: I8116e40108175d2606b0c24655d457c1f04afc35
2024-11-15 01:36:04 +00:00
Treehugger Robot
f7478a6546 Merge "[Settings] Refactor: Add SystemLocalePickerFragment" into main 2024-11-14 09:26:27 +00:00
Zoey Chen
a15948b53e [Settings] Refactor: Add SystemLocalePickerFragment
Bug: 377664066
Flag: EXEMPT refactor
Change-Id: I79805c639197911d10f3632e50b5feced08c2fd6
2024-11-14 07:05:30 +00:00
Treehugger Robot
a869e573a0 Merge "Update resource name and format previously added file" into main 2024-11-14 06:56:14 +00:00
Treehugger Robot
dbad78f0f6 Merge "Add android:key to device info PreferenceCategories" into main am: fb6902d872 am: a320592887
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3330454

Change-Id: I62f4bc79d5518a43506eefeaa0fd24e2e34db04b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 04:54:17 +00:00
Treehugger Robot
a320592887 Merge "Add android:key to device info PreferenceCategories" into main am: fb6902d872
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3330454

Change-Id: I2ff9911ca626b0144ad18721122cb5cbeb26f84c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 04:19:25 +00:00
Fan Wu
b551184b15 Update resource name and format previously added file
Bug: 372774754
Test: atest and device test
Flag: com.android.settings.flags.catalyst_power_usage_summary_screen
Change-Id: Iaa6a07108c4401e844e1a1e19f07fc809e4c43c9
2024-11-14 03:33:57 +00:00
Lars Svensson
3eb06a9077 Add android:key to device info PreferenceCategories
Add group key to PreferenceCategory "Legal & regulatory",
and "Device identifiers" making injection of preferences in
this section possible.

Change-Id: Ic178f402fb993cbd4be7c3f0713496acf2a6938a
2024-11-13 13:20:38 +01:00
Roy Chou
04715ae017 Merge "feat(brightness suw): adjust brightness toggles UI and remove autobrightness standalone page" into main 2024-11-13 08:22:07 +00:00