Commit Graph

13203 Commits

Author SHA1 Message Date
Shaowei Shen
39d682a67a Merge "[Physical Keyboard] Add intent support for PK layout setting page" into main 2024-12-03 01:23:19 +00:00
shaoweishen
b7616da05c [Physical Keyboard] Add intent support for PK layout setting page
This is part of feature for keyboard setting update, which allows gBoard to deep link to layout picker page.
document: go/deeplink_pk_layout_picker

Change-Id: I4277e175be7eed338f855e8144b5531c614e2c04
Bug: 318594345
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Test: verified on Device
2024-12-02 09:12:25 +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
Matthew DeVore
9e3f075c3a Merge "Show built-in display if topology is visible" into main 2024-11-28 14:24: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
Hung-Yeh Lee
281731db2f Merge "Update resolution name for screen resolution page" into main 2024-11-28 03:28:41 +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
Matthew DeVore
4a3af3a735 Show built-in display if topology is visible
The topology in the External Displays list will include the built-in
display. For consistency, also show the built-in display along with the
connected displays, so there is a 1:1 correspondence between blocks in
the topology pane and display preference items.

Test: launch external display fragment with zero or one external display, verify built-in display item appears and opens Display settings if tapped
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352648432
Change-Id: Id067034f6af5d0d6fe32f4a8091bc77d1ed75698
2024-11-27 17:50:54 +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
Pawan Wagh
d0ffb9cea6 Merge "Add AppInfo setting for page size appcompat" into main 2024-11-27 10:25:02 +00:00
Pawan Wagh
57ca4d313e Add AppInfo setting for page size appcompat
Adding preference which set the page size app compat
for given app.

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Flag: page_size_app_compat_setting
Bug: 371049373
Change-Id: I91d014594e99e174f55010ca57aa19edc2071255
2024-11-27 05:48:12 +00:00
Treehugger Robot
8a995f3762 Merge "Updating Setting EvenDimmer->ExtraDim" into main 2024-11-26 15:52:20 +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
Hung-Yeh Lee
edfe2a3f24 Update resolution name for screen resolution page
Use "Max resolution" to avoid confusion with Full HD.

Bug: 380988346
Flag: EXEMPT resource only update
Test: Open settings > display > resolution
Change-Id: I77923c60d9af3757d207cda9d33d9b40ccdc5462
2024-11-26 14:03:22 +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
Matthew DeVore
6f28e1a3c7 Topology pane in extended displays list
Show an empty topology pane in the extended displays list. Even show
when no external display is connected.

This will be tweaked in a follow-up CL to include the built-in display
in the pane and the displays list.

This fixes an issue where the displays list is not shown when *no*
external displays are connected, which was not the intent of the flag.
The previous flag CL ag/30358161 only respected the flag when 1 external
display was connected.

Based on mocks at go/al-mm-figma

Bug: b/352650922
Test: reboot with zero displays attached and verify display list and pane are shown
Test: on al-13 device, make the activity fullscreen and verify the margins on left and right of pane are larger
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Change-Id: If39fefe943a26c817fa6f636f21eb8aaa080adde
2024-11-25 12:06:04 -06: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
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
Daniel Huang
c1e4b09f9a Merge "Use flag to control the hierarchy tree changes" into main 2024-11-21 10:55:35 +00:00
Pat Manning
828578f703 Make assistant label generic for AOSP.
Fix: 379840607
Test: Manual.
Flag: EXEMPT Bugfix.
Change-Id: Id4fe9e603529d71c4cfe6d1cdbf47e836fa73706
2024-11-20 16:37:18 +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
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
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
Jason Chang
97539b3255 Merge "(1/n) Make the GlifHeader scrollable on FingerprintEnrollEnrolling( UDPFS) layout page." into main 2024-11-14 05:13:09 +00:00
Jason Chang
e4623cd2a3 (1/n) Make the GlifHeader scrollable on FingerprintEnrollEnrolling(
UDPFS) layout page.

1. To override GlifLayout's onInflateTemplate() then embedding a
ScrollView on GlifHeader.
2. Remove previous hiding the description text snippet
3. Handling UDFPS enroll lottie position problem.
4. Solve the ProgressBar overlapped with FooterBar problem.

Flag: com.android.settings.flags.enroll_layout_truncate_improvement

Bug: 359149850
Bug: 367164671
Bug: 362522976

Test: atest UdfpsEnrollEnrollingViewTest
Test: Build Forrest ROM then check the UI in different scenarios
Change-Id: Iee44cb5815286233f23266e3d86fd8335ab2087d
2024-11-13 16:26:32 +00: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
shaoweishen
3ec1567922 [Touchpad & Mouse] Update title based on conditions
Update preference and page title based on device condition.

Bug: 364536531
Flag: NONE, bug fix for string title.
Test: verify on device
Change-Id: Id5b01680314c45f1b86661c60f9e7acedca8b6eb
2024-11-11 05:49:03 +00:00
Treehugger Robot
9d1515e3ca Merge "Use the DND icon for modes of type UNKNOWN" into main 2024-11-06 19:15:38 +00:00
Julia Reynolds
106738a1b1 Merge "Add skeleton page for bundling" into main 2024-11-06 16:59:57 +00:00
Matías Hernández
13c6cb4c22 Use the DND icon for modes of type UNKNOWN
Fixes: 376404078
Test: manual
Flag: android.app.modes_ui
Change-Id: I0b0959a468b2dde495b301fa723c7bef265fb3fe
2024-11-06 17:35:45 +01:00
Dongzhuo Zhang
288cb40982 Merge "Few update on contacts storage settings. 1. Add account preference category to contacts storage settings page 2. Preload account icon in settings constructor 3. Re-fetch account in controller to refresh the default account after user sets a different default account." into main 2024-11-06 03:47:19 +00:00
Dongzhuo Zhang
2f16e5824e Few update on contacts storage settings.
1. Add account preference category to contacts storage settings page
2. Preload account icon in settings constructor
3. Re-fetch account in controller to refresh the default account after user sets a different default account.

Test: atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStorageSettingsTest
atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStoragePreferenceControllerTest
Bug: 368641291
Flag: android.provider.new_default_account_api_enabled

Change-Id: I3ca2a7a0905118c7a3a47fe4573781ae86c246bd
2024-11-05 23:25:02 +00:00
Julia Reynolds
976850dbdd Add skeleton page for bundling
Test: BundleTypePreferenceControllerTest
Test: BundleGlobalPreferenceControllerTest
Test: BundlePreferenceControllerTest
Fixes: 376476949
Flag: android.app.notification_classification_ui
Change-Id: I6fa7ddfeb5ee6d2033dee4b57b0cc0e76bb347f6
2024-11-05 17:03:40 +00:00
Chelsea Hao
bade0e096d Merge "Add summary for auto on toggle in settings." into main 2024-11-05 04:08:42 +00:00
Edgar Wang
214015eb04 Merge "[Expressive design] Apply expressive design to Settings" into main 2024-11-04 18:40:52 +00:00
Roy Chou
c2d0b25753 feat(brightness suw): adjust brightness toggles UI and remove autobrightness standalone page
Based on the UX alignment in doc and figma, we remove the autobrightness
detailed page to make the consistency with other Vision settings, and
update the brightness preference icons and summaries.

Bug: 377289685
Flag: com.android.settings.accessibility.add_brightness_settings_in_suw
Test: manually
Change-Id: If4038de07dec7eeb38d3c057affba737849e23c9
2024-11-04 16:22:46 +00:00
Edgar Wang
b2ada5df65 [Expressive design] Apply expressive design to Settings
- update collapsingtoolbar layout
- apply expressive theme

Bug: 355687551
Test: visual
Flag: EXEMPT flag by System prop
Change-Id: Ia6c405d8675e2f088f5ce2a804c9219f28dec398
2024-11-04 14:38:13 +00:00
Treehugger Robot
ed0da93fbf Add summary for auto on toggle in settings.
Test: atest
Bug: b/375985757
Flag: EXEMPT minor fix
Change-Id: I1c58f0510f00a33f22677ea4415478aa2bba4cea
2024-11-04 06:41:02 +00:00
Santos Cordon
466b3e0066 Updating Setting EvenDimmer->ExtraDim
Bug: 376929378
Flag: EXEMPT Bug fix
Test: Manually verify text
Change-Id: I7d9af05f2898545bf16ede61a4a680f480e46dc5
2024-11-01 22:36:50 +00:00
Treehugger Robot
e616136902 Merge "[Screen off unlock UDFPS] Fingerprint Settings integration 2/2" into main 2024-10-30 20:45:14 +00:00
Chelsea Hao
01cc104074 Merge "Show error message when inputting invalid audio sharing password." into main 2024-10-30 09:24:35 +00:00