Commit Graph

146815 Commits

Author SHA1 Message Date
Matías Hernández
b3468ca88a (Once more) fix minimum height of mode name edit box for a11y
We had fixed this before and then regressed when moving to TextInputLayout, so added a proper test this time.

Fixes: 380207192
Test: atest ZenModeEditNamePreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: Ic25b0a5a6997e7b3bb26bf26ed7e8e92654a1c11
2024-12-02 16:06:58 +01:00
Nikki Moteva
7313080e75 Merge "Settings: Fix the a11y focus issues in App Notifications subpage" into main 2024-12-02 10:57:46 +00:00
Treehugger Robot
f92c187b11 Merge "[Catalyst] Ring volume migration (2/n)" into main 2024-12-02 10:41:39 +00:00
Edward Savage-Jones
844dd0e097 Partial revert to restore lottie_bubbles.json
The tablet version of this animation exists in AOSP, under:

 ./raw-sw600dp/lottie_bubbles.json

this CL restores the phone version that was accidentally (?)
removed in an earlier commit (73a61a8).  Restored using:

 git checkout 73a61a8 res/raw/lottie_bubbles.json

Bug: 379667765
Test: robotest and see the UI
Change-Id: Ibf404c9402a808f09ac751b5f34c029a570eb3f4
2024-12-02 10:54:27 +01:00
Shraddha Basantwani
32e388ad31 [SPA] Add biometric authentication for package modification
Add an extra step of Lock Screen for disabling, force-stopping or
uninstalling updates for protected packages

UI Change Details : https://drive.google.com/drive/folders/1w7gKTmCxQ_j-9GQnIpEfF5_gmQ27b8l_?resourcekey=0-brLdN8VfqVPGm2FMwfrmkQ&usp=drive_link
Bug: 352504490, 344865740
Test: atest AppButtonsPreferenceControllerTest PackageInfoPresenterTest
Flag: EXEMPT High Security Bug
Change-Id: I0c494e307b02229d751de118abcc89e4e61a6861
2024-12-02 09:36:05 +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
Jacky Wang
f96ae34080 Merge changes from topic "catalyst-sims" into main
* changes:
  [Catalyst] Migrate "Mobile data"
  [Catalyst] Migrate SIMs entry point
2024-12-02 08:32:19 +00:00
Chaohui Wang
7bee1511ce Merge "Fix TetherPreferenceController ANR" into main 2024-12-02 07:52:59 +00:00
Treehugger Robot
d0e7d9fce6 Merge "Completed basic UI of Satellite SOS" into main 2024-12-02 07:01:10 +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
Haijie Hong
628c9d9e24 Merge "Hide loading view if config service is not available" into main 2024-12-02 05:22:13 +00:00
Jacky Wang
344ba6912c [Catalyst] Migrate "Mobile data"
Bug: 368355368
Flag: com.android.settings.flags.catalyst_mobile_network_list
Test: devtool
Change-Id: Id6092f37e0790566a2fdeb8a6f10e17ad79def78
2024-12-02 12:30:50 +08:00
Chaohui Wang
e731f7cce2 Fix TetherPreferenceController ANR
getAvailabilityStatus() is called in main thread, so we should avoid
time consuming works in it.

Fix: 377146536
Flag: EXEMPT bug fix
Test: manual - on Network & internet
Test: unit test
Change-Id: Ib5ee19744cf164f91aa90be982f5fc5eead5d4d3
2024-12-02 11:56:54 +08:00
Chaohui Wang
a25c82a346 Merge "Fix checkSimIsReadyAndGoNext()" into main 2024-12-02 03:46:37 +00:00
Jacky Wang
36684ec80d [Catalyst] Migrate SIMs entry point
NO_IFTTT=Catalyst only

Bug: 368355368
Flag: com.android.settings.flags.catalyst_network_provider_and_internet_screen
Test: Manual
Change-Id: I2f3526c1ccb50490b955ad5f98c19d9ce2f5f21d
2024-12-02 11:26:37 +08:00
Haijie Hong
e994e8eab5 Hide loading view if config service is not available
BUG: 381679609
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I2e633d2a78846d23f727f294bbd570185bd11dd0
2024-12-01 21:40:12 +08:00
Treehugger Robot
019a1f46f2 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-11-30 21:27:39 +00:00
Treehugger Robot
eb681203f1 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-11-30 21:27:39 +00:00
Mill Chen
a2b94eafde [Catalyst] Ring volume migration (2/n)
NO_IFTTT=migrate other feature from controller

Bug: 373978964
Test: atest SeparateRingVolumePreferenceTest
Flag: com.android.settings.flags.catalyst_sound_screen
Change-Id: I4aba4c6688e4284fb23570ac999acf7b4039854d
2024-11-29 17:10:11 +00:00
Haijie Hong
7c6a8a4f42 Merge "Add loading screen for Device details fragment to avoid ANR" into main 2024-11-29 16:44:13 +00:00
Haijie Hong
67ac0faf3d Add loading screen for Device details fragment to avoid ANR
BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Iad57fc2fe4cb0a3f90e8d01310b9c7ad20d02233
2024-11-29 22:04:31 +08:00
tomhsu
115f92e5ca Adds ignore annotation to avoid postsubmit failed.
Flag: EXEMPT bug fix
Fix: b/381507937
Test: atest pass
Change-Id: I27686e44832da9b9d19d0edd4f47d687087148a9
2024-11-29 11:17:10 +00:00
YK Hung
1830f3b2bf Merge "[ExpressiveBattery] Update BatteryHeaderTextPreference" into main 2024-11-29 10:50:17 +00:00
Tom Hsu
4937645ce3 Merge "Create a Satellite SOS entry" into main 2024-11-29 09:18:37 +00:00
Chaohui Wang
bd4990d020 Fix checkSimIsReadyAndGoNext()
This function is waiting for sim to be enabled, then goto next step.

Before this fix, receiver register / unregister is not lifecycle scope
awareness, after fix this, use flow, which is cancelled when the
coroutine lifecycle scope cancelled.

Fix: 381153100
Flag: EXEMPT bug fix
Test: manual - switch between two sims (hard code dsds requires reboot)
Change-Id: If9cbb0cbf7d460b659d827897306c07d642bb231
2024-11-29 16:04:42 +08: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
mxyyiyi
1cf9ab21b8 [ExpressiveBattery] Update BatteryHeaderTextPreference
- Remove background container
- Update the distance between status text and progress bar from 16dp to 10dp.

Bug: 349652542
Test: visual
Flag: EXEMPT flag by System prop
Change-Id: I1cd6f597e01daad9fbc5fb128926c8c153ff0328
2024-11-29 13:59:52 +08: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
8ff5f0cfc5 Merge "[Settings] Fix inconsistent ringtone keyword search" into main 2024-11-29 03:27:08 +00:00
Jacky Wang
8a97245b3d [Catalyst] Add sensitivity level
NO_IFTTT=Catalyst only

Bug: 380457585
Flag: com.android.settings.flags.catalyst
Test: Manual
Change-Id: Ia98a925011723738e1a16cc0e0c3d703d3dbd505
2024-11-29 07:36:13 +08:00
Treehugger Robot
1fd937f8ba Merge "[Catalyst] Vibration and haptics main switch migration" into main 2024-11-28 23:20:02 +00:00
Matthew DeVore
9e3f075c3a Merge "Show built-in display if topology is visible" into main 2024-11-28 14:24:16 +00:00
jinjeong
2e7db438ab New System API to launch SIM Preference in Setting
Bug: b/381319469
Test: Manual
FLAG: com.android.internal.telephony.flags.action_sim_preference_settings
Change-Id: I91815464a2462820de4f3db1bd59e6987910089d
2024-11-28 12:22:53 +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
Treehugger Robot
808dc46b06 Merge "Disabled Settings preference in case Satellite's conditions." into main 2024-11-28 12:04:23 +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
9ca8709173 Disabled Settings preference in case Satellite's conditions.
Conditions
   - Satellite session started
   - Current subscription for Satellite is carrier based.
 Target preference UI in android settings
   - preferred network type
   - Automatically select network

Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/378409439
Fix: b/378409428
Test: atest pass
Test: Manual test pass
Change-Id: I7aa04b818c8866bf5c891c28372a249c964b066f
2024-11-28 10:37:35 +00:00
Jason Chiu
a25868453c Update OWNERS for Android Settings
Fix: 381373363
Test: N/A
Change-Id: I97f7667dd104b9d8b0f6db72f05444e77458975a
2024-11-28 09:15:16 +00:00
Tom Hsu
01043fdf93 Merge "Fix crash due to no SatelliteManager" into main 2024-11-28 06:19:44 +00:00
tomhsu
55de3bf24b Fix crash due to no SatelliteManager
Flag: EXEMPT bug fix
fix: 381212236
Test: make pass
Change-Id: Ic10ad27c1e84ac29c5c1ccf81c073d6f216ed32e
2024-11-28 04:32:26 +00:00
Tom Hsu
95ac81f485 Merge "Modification for Satellite API change." into main 2024-11-28 04:10:50 +00:00
tomhsu
ad74d1f1fb Modification for Satellite API change.
Input parameter changed from List to Int[]

Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/378410271
Test: atest pass
Test: make pass
Change-Id: I1df1354fa5ceea960d41d33ab34da0a415d5fc82
2024-11-28 04:07:53 +00:00
Wilson Wu
409e5f5697 [Settings] Fix inconsistent ringtone keyword search
The settings keyword search result is based on xml.
Hide the phone ringtone preference if the device
support ringtone vibration.

Flag: EXEMPT bugfix
Bug: 379006466
Test: atest PhoneRingtonePreferenceControllerTest
Change-Id: I42d2518c524ab26525445f766e14049c59a8d6ee
2024-11-28 03:42:01 +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
Treehugger Robot
8b4f683af3 [automerger skipped] Merge "Revert "Turn off voice access in 16KB mode"" into main am: 262b9d9b41 am: deec945b4d -s ours
am skip reason: Merged-In Id2c4584835766e9620234233b6594c0dd59b68e9 with SHA-1 cc66323613 is already in history

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

Change-Id: I46ec0bdd2e459245c751b8bfd57a6e5a24c062fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-28 02:41:10 +00:00
Treehugger Robot
deec945b4d Merge "Revert "Turn off voice access in 16KB mode"" into main am: 262b9d9b41
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3320718

Change-Id: I806211fb1462e737206e0f2aef762809eaf907f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-28 02:17:10 +00:00
Treehugger Robot
262b9d9b41 Merge "Revert "Turn off voice access in 16KB mode"" into main 2024-11-28 01:35:31 +00:00
Pawan Wagh
5da1293494 Revert "Turn off voice access in 16KB mode"
This reverts commit 6de4093876.

Test: m Settigns
Bug: 335443194
Bug: 340231742
Change-Id: I6b3ab5ba9626dd17c1e6383d8b390fb7c91c9efc
Merged-In: Id2c4584835766e9620234233b6594c0dd59b68e9
2024-11-27 22:32:48 +00:00