Commit Graph

143690 Commits

Author SHA1 Message Date
Bill Yi
1d24d09091 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie7a6d17a7356827e2d823fa8f3e9fb312c5d210b
2024-09-11 13:44:14 -07:00
Bill Yi
65d9c39a51 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If28bc3a57b9e98862b7f7fd5bc57167171e6009d
2024-09-11 12:07:00 -07:00
Bill Yi
905e347339 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9205a5ec80240c5ca11946c6e03b4b0e11769c83
2024-09-11 12:05:13 -07:00
Bill Yi
730b913bc6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I40a62c487bc7916eac67a878a59ce68a2139c694
2024-09-11 12:03:50 -07:00
Treehugger Robot
06ab83eb50 Merge "Fix errorprone issues" into main am: eb2e9e4776 am: bdd44e5242
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3258078

Change-Id: I1249c4cdae2cee729ac60d9e41507c7dc684621e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 18:22:01 +00:00
Treehugger Robot
b55ded8fb1 [automerger skipped] Merge "Make java_sdk_library dependencies explicit" into main am: dd578b8274 am: d459385feb -s ours
am skip reason: Merged-In I78dec317d4e74275287e3a5b7f5ffe2b10db05ab with SHA-1 9b946d241d is already in history

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

Change-Id: I2c342bd84c9c81a9431120c6ca7ea6f25297a450
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 18:20:55 +00:00
Treehugger Robot
bdd44e5242 Merge "Fix errorprone issues" into main am: eb2e9e4776
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3258078

Change-Id: Idaa9fc8fe53588c16959948de0f32ab74d5187ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 18:13:59 +00:00
Treehugger Robot
d459385feb Merge "Make java_sdk_library dependencies explicit" into main am: dd578b8274
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3247681

Change-Id: I367d149d944129e2c545bde70690733a235cae5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 18:10:52 +00:00
Treehugger Robot
eb2e9e4776 Merge "Fix errorprone issues" into main 2024-09-11 18:08:19 +00:00
Treehugger Robot
dd578b8274 Merge "Make java_sdk_library dependencies explicit" into main 2024-09-11 17:58:59 +00:00
Treehugger Robot
9b10974cca Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-11 17:46:39 +00:00
Treehugger Robot
5ac473d654 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-11 17:46:39 +00:00
Treehugger Robot
504944d170 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-11 17:46:39 +00:00
Matías Hernández
00e86639d8 Merge "Update "Dark Theme" Settings screen to account for Modes that can toggle it" into main 2024-09-11 15:57:46 +00:00
Haijie Hong
b2b0b655ea Merge "Fix tests after device rename button is moved" into main 2024-09-11 15:57:05 +00:00
Matías Hernández
1e49ce2482 Use the Modes icon in the "dummy" ModesActivity
So that newly-created Modes Settings shortcuts have it (a different CL will update previous shortcuts).

Bug: 365545604
Change-Id: I74760bde4c40646b0571e0b7dad6383729f470f7
Test: manual
Flag: android.app.modes_ui
2024-09-11 15:55:16 +00:00
Matías Hernández
5b26a37a7e Rename usages of ZenRule.isAutomaticActive() to isActive() in Settings
Bug: 363193376
Test: N/A, automatic refactor
Flag: EXEMPT automatic refactor
Change-Id: Ice1ceccbe09e6206555b2f2b75bd7ea39d24dfd7
2024-09-11 13:39:43 +00:00
Olivier Nshimiye
bf992fcfc7 Merge "Prompt user to set device lock before deleting private space from Reset options" into main 2024-09-11 11:07:23 +00:00
Haijie Hong
fb18978718 Fix tests after device rename button is moved
BUG: 343317785
Test: atest BluetoothDeviceDetailsFragmentTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I3cb93f7128a1bb2a7d24b65772edf4b55e8f9bdf
2024-09-11 18:24:25 +08:00
Matías Hernández
2a3e8b3070 Update "Dark Theme" Settings screen to account for Modes that can toggle it
Bedtime is no longer a special case.

Fixes: 361592187
Test: atest com.android.settings.display.darkmode
Flag: android.app.modes_ui
Change-Id: Iddc5d8142d6bc0bb1f5c4ead876ee201c8818b12
2024-09-11 11:52:50 +02:00
Chaohui Wang
6bca37ce4b Merge "Fix ResetNetworkConfirm erase esim twice" into main 2024-09-11 07:44:12 +00:00
Yiyi Shen
0e7d5fcf0d Merge "[Audiosharing] Add loading state dialog" into main 2024-09-11 05:55:24 +00:00
Yiyi Shen
45218f6199 Merge "[Audiosharing] Add dialog for share then pair with classic headset" into main 2024-09-11 05:55:00 +00:00
Chaohui Wang
f429024a1c Fix ResetNetworkConfirm erase esim twice
Currently esim is erase twice when reset network settings, this happens
before Change I51395a556b1c8775192d5897a87f13046c042578, that change
was plan to fix this issue, but failed to.

Remove the second erase to fix.

Fix: 365855897
Flag: EXEMPT bug fix
Test: manual - reset mobile network settings
Test: atest ResetNetworkConfirmTest
Change-Id: I1329b1fee881821868ebc8a138e65e3345611d44
2024-09-11 13:08:59 +08:00
Bill Yi
cc878cfa40 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3f66f9a8cd0b4b98aabd95fda02106fd2ba6d04f
2024-09-10 21:41:38 -07:00
Bill Yi
c7b98a6a69 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I27dc75d04e7fd26b69685139d4c6151d0f958edb
2024-09-10 21:39:06 -07:00
Bill Yi
224d0b0abd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifc1897b669d6c2f8700cdf6ec805e7b2e3452c65
2024-09-10 21:37:11 -07:00
Haijie Hong
cb478b82f0 Show highlight for device setting items
BUG: 343317785
Test: atest DeviceDetailsFragmentFormatterTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ifac11881a9a305a39c1d2057ea354a8096f70647
2024-09-11 11:43:38 +08:00
Chaohui Wang
c57ab6ee65 Fix description when erase esim
R.id.sud_layout_description no longer works any more, migrate to
setDescriptionText().

Fix: 365582830
Flag: EXEMPT bug fix
Test: manual - on erase all data
Test: atest MainClearConfirmTest
Change-Id: Icfb492ada862fb0584ffdb8da440d94ce719e518
2024-09-11 11:35:15 +08:00
Matías Hernández
d90a5dcf0f Merge "Fix the label of the Modes activity in Settings" into main 2024-09-11 00:11:16 +00:00
Treehugger Robot
6bcaf28f50 Merge "Make java_sdk_library dependencies explicit" into main 2024-09-10 23:53:01 +00:00
Riley Jones
8d7cd93e46 Merge "Remove mentions of "gesture" on the Accessibility Button settings page" into main 2024-09-10 23:31:54 +00:00
Android Build Coastguard Worker
235698292c Snap for 12348750 from 1c756ec809 to 24Q4-release
Change-Id: I8dec62d80cea41f1b27722e8b5523456cacfb93b
2024-09-10 23:22:39 +00:00
Jihoon Kang
4ae6ead8d6 Make java_sdk_library dependencies explicit
modules should specify the submodule of java_sdk_library that the module
actually depends on

Test: CI
Bug: 358613520
Merged-In: I78dec317d4e74275287e3a5b7f5ffe2b10db05ab
Change-Id: I78dec317d4e74275287e3a5b7f5ffe2b10db05ab
2024-09-10 22:43:05 +00:00
Jihoon Kang
9b946d241d Make java_sdk_library dependencies explicit
modules should specify the submodule of java_sdk_library that the module
actually depends on

Test: CI
Flag: EXEMPT build dependency cleanup
Bug: 358613520
Change-Id: I78dec317d4e74275287e3a5b7f5ffe2b10db05ab
2024-09-10 22:33:56 +00:00
Winson Chung
31c97acb4f Add log for user unlock
Flag: EXEMPT bugfix
Test: Just adding a log
Bug: 364605453
Change-Id: I40ae87d4a4734b0fee24f9ba2ff62ebc7006533b
2024-09-10 20:15:41 +00:00
Riley Jones
28e10455a1 Remove mentions of "gesture" on the Accessibility Button settings page
Configures page to hide/replace elements that would mention gesture.
Also, provides context when necessary if a setting is disabled by the current button mode.

Demonstration video:
https://x20web.corp.google.com/users/jo/jonesriley/splitShortcut/a11yShortcutSettingsCleanup.mp4

Test: manual, navigate to the Accessibility Button "more options" page in gesture navigation mode. Verify there are no references to gesture.
Bug: 349178639
Flag: android.provider.a11y_standalone_gesture_enabled
Change-Id: I067738d23e74c00bab4010d187820d09013809ad
2024-09-10 17:49:45 +00:00
Matías Hernández
b979edf1f8 Fix the label of the Modes activity in Settings
It was "Do Not Disturb" when it should be "Modes". This means that newly-created widget shortcuts will have the correct text; a follow-up CL will fix existing ones (which also point to the wrong activity).

Bug: 365545604
Test: manual
Flag: android.app.modes_ui
Change-Id: I34e5b09adafc0cb2a48985f4a3f9f9a7cc92491d
2024-09-10 19:11:42 +02:00
Matías Hernández
dd9b17b083 Remove "Do Not Disturb" from Sound summary in Settings top screen
Bug: 361140177
Test: manual
Flag: android.app.modes_ui
Change-Id: I11f808319bbcc2645e593f70003611f70a3fc930
2024-09-10 18:23:24 +02:00
Treehugger Robot
1c756ec809 Merge "Update use of android.webkit.UserPackage." into main 2024-09-10 14:09:29 +00:00
Yiyi Shen
ea68bb0825 Merge "[Audiosharing] Change main toggle enable conditions." into main 2024-09-10 10:55:36 +00:00
Yiyi Shen
d54c7e9728 [Audiosharing] Add dialog for share then pair with classic headset
In share then pair flow, after users are routed to pair new device page,
if they pair a classic headset, we will show this dialog to explain that
the headset does not support audio sharing.

Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 362858921
Change-Id: I9cb600fa890563c179ac265c3f9c8cda52e4d296
2024-09-10 18:52:11 +08:00
Olivier Nshimiye
5e4fad8a4a Prompt user to set device lock before deleting private space from Reset options
New flow: http://shortn/_qLrrqpdfJc

Flag: EXEMPT Bugfix in a low risk scenario
Bug: 363050220
Test: atest ResetOptionsDeletePrivateSpaceControllerTest
Change-Id: I93f55cd94ed2f42d5c19e2686d3edb3920bf750d
2024-09-10 09:06:32 +00:00
Jacky Wang
e376c586d2 Merge "Catalyst framework integration" into main 2024-09-10 09:00:03 +00:00
Yiyi Shen
c347fba969 [Audiosharing] Add loading state dialog
Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 362858894
Change-Id: Ic40c3c5971e29ce1dac896a8e4efa2284d95f45e
2024-09-10 15:37:40 +08:00
Treehugger Robot
e18c3158c6 Merge "[Settings] Remove androidx widget and use Settings widgets" into main 2024-09-10 07:17:05 +00:00
Chaohui Wang
9b118faa3e Merge "Create NrRepository" into main 2024-09-10 03:36:02 +00:00
Yiyi Shen
25796ffed6 Merge "[Audiosharing] Add retry dialog when start fail" into main 2024-09-10 02:40:13 +00:00
Android Build Coastguard Worker
e004275ffc Snap for 12342105 from 7db5b7a084 to 24Q4-release
Change-Id: I8b07a5a2f2cc4b30a7abbe0ab91f6c6e4dc6cedf
2024-09-09 23:22:12 +00:00
Torne (Richard Coles)
c82baecc32 Update use of android.webkit.UserPackage.
UserPackage no longer stores a UserInfo, only a UserHandle, to aid in
mainline modularization. Update Settings to fetch the UserInfo itself
when it needs to show the user name.

Bug: 310653407
Test: atest WebViewAppPickerTest
Flag: NONE cannot flag changed types in method signatures
Change-Id: I0e6f58e6b6a353171ddf923279ff08a92e2f040a
2024-09-09 18:00:59 -04:00