Commit Graph

145272 Commits

Author SHA1 Message Date
tomhsu
50e695fdb6 Ignore test case to avoid post submit failed
Flag: EXEMPT bug fix
Fix: b/381904824
Test: atest pass
Change-Id: Ie8401c2ac887726090812236882d23ae710c30c8
2024-12-03 05:58:00 +00:00
Ze Li
7c11a45735 [Connected devices page] Move the refresh logic to main thread.
As the caller of adding or removing devices may not be performing on background thread, sync problem could occur. So here we make sure all updates to UI happens on the main thread.

Test: atest: com.android.settings.connecteddevice.PreviouslyConnectedDevicePreferenceControllerTest
Bug: 365044575
Flag: EXEMPT bugfix
Change-Id: I5b697acb7cf7469fe3bbff33b820b4e9f4c5104f
2024-12-03 13:54:57 +08:00
Treehugger Robot
a975808251 Merge "[Catalyst] Use lifecycleScope for BatterySaverPreference" into main 2024-12-03 04:12:59 +00:00
Bill Yi
880b463a4a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie55b1454e1863698c72def1053a0a9568677b092
2024-12-02 19:18:07 -08:00
Bill Yi
dab1ba5e28 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2910772e97f8cca308d9d4e5198f8f8857db9d06
2024-12-02 19:16:01 -08:00
Treehugger Robot
25ff6453fb Merge "Touchpad: remove tap dragging flag" into main 2024-12-03 02:33:57 +00:00
Shaowei Shen
39d682a67a Merge "[Physical Keyboard] Add intent support for PK layout setting page" into main 2024-12-03 01:23:19 +00:00
Jacky Wang
0f591ca220 [Catalyst] Use lifecycleScope for BatterySaverPreference
NO_IFTTT=Catalyst only

Bug: 377993674
Flag: com.android.settings.flags.catalyst_battery_saver_screen
Test: manual
Change-Id: Ie66882cd74300ced4914cd2c67fe130f66530100
2024-12-03 07:36:01 +08:00
Harry Cutts
e628248bab Touchpad: remove tap dragging flag
This feature has now launched, so we can remove the flag.

Bug: 349562564
Test: toggle tap dragging setting, check tap dragging works when it's
      enabled but not when it's disabled
Flag: EXEMPT removing com.android.hardware.input.touchpad_tap_dragging
Change-Id: I6454b57b97f93e5cccfafc784f3fdc63a16f80ed
2024-12-02 21:24:54 +00:00
Riley Jones
acccaff128 Cleaning up quick settings flag in Settings app
Removes all instances of a11y_qs_enabled. Any code that would be nontrivial to remove has been deprecated for later cleanup.

Test: atest com.android.settings.accessibility
Flag: EXEMPT flag cleanup
Bug: 367414968

Change-Id: I81f3c9cee377535eaa552a170d58ec1a79d1da65
2024-12-02 20:38:10 +00:00
Matías Hernández
aaee1a1511 Merge "(Once more) fix minimum height of mode name edit box for a11y" into main 2024-12-02 17:41:06 +00:00
Joshua McCloskey
a2085f18b7 Fast enroll
Test: manual
Bug: 375320734
Flag: com.google.android.settings.flags.pixel_fingerprint_enroll
Change-Id: Iaf3acfca8471165514660a2403e69be161392501
2024-12-02 17:07:59 +00:00
Treehugger Robot
6b98c4e74b Merge "[SPA] Add biometric authentication for package modification" into main 2024-12-02 15:39:51 +00:00
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