Commit Graph

144161 Commits

Author SHA1 Message Date
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
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
shaoweishen
97d7422b35 [Language Setting] Cleanup Language and Input Setting
Clean up LanguageAndInputSettingsActivity since we already migrated to
LanguageSettingsActivity and InputSettingsActivity.

Bug: 330517633
Test: manual
Flag: EXEMPT bugfix

Change-Id: I32ef1bf4105355f1d11b728f51dcb3f7dc896c67
2024-09-10 09:20:49 +00: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
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
Daniel Norman
7db5b7a084 Merge "Makes Caption Language searchable only if captions are enabled." into main 2024-09-09 17:46:01 +00:00
Jason Chang
c3fb1e6d4f Merge "Fix fingerprint enrollment animation is not in correct position." into main 2024-09-09 17:03:00 +00:00
MiltonWu
694fe0751a Customize Fingerprint enroll activities
Provide an interface for ODM/OEM to override Fingerprint enrollment
activities.

Bug: 364794493
Flag: EXEMPT can't apply flag for manifest change
Test: atest SettingsRoboTests:FingerprintEnrollTest
Change-Id: Ic519970a3837614b3d4c8cb2f6d75967ae838208
2024-09-09 14:49:09 +00:00
Chun-Wei Wang
32cf2e3a11 Merge "Support alternate button" into main am: 88bbe8fe1d am: 6eccd73996
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3244020

Change-Id: Ia2853f58135f975bf0f6dd687efee52e622eac8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-09 14:34:57 +00:00
Chun-Wei Wang
6eccd73996 Merge "Support alternate button" into main am: 88bbe8fe1d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3244020

Change-Id: I875a923cac31bd561ff5a1cbf80000d6a1c3803e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-09 14:26:02 +00:00
Chun-Wei Wang
88bbe8fe1d Merge "Support alternate button" into main 2024-09-09 14:18:11 +00:00
Jacky Wang
b3e1b527d8 Catalyst framework integration
Bug: 335132588
Flag: com.android.settingslib.flags.settings_catalyst
Test: Presubmit
Change-Id: Ic0f0193fd5cee144f2fab36ae5190156efb7bd10
2024-09-09 21:14:53 +08:00
Haijie Hong
1a90869f28 Merge "Make bluetooth profile toggles configurable" into main 2024-09-09 12:56:07 +00:00
Yiyi Shen
d3f4982f6e [Audiosharing] Add retry dialog when start fail
Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 362858894
Change-Id: I6ffb3433a6284e0b42d9c976c4abcdf835eee06f
2024-09-09 20:01:37 +08:00
Edgar Wang
28d45b49e8 Refactor layout of ProcessStatsPreference
- only this preference use AppPreference.setProgress()
- create layout to handle progressbar in this class

Bug: 365506467
Test: atest
Flag: EXEMPT bugfix
Change-Id: Ie0daf4e4fc1736943afe243566392d57c63fe65a
2024-09-09 11:24:32 +00:00
Zoey Chen
b90b4961b3 [Settings] Remove androidx widget and use Settings widgets
Bug: 365486042
Test: manual
Flag: EXEMPT bugfix
Change-Id: I4658742b442831121b45833bdf02b36ad33d785d
2024-09-09 08:47:18 +00:00
Jason Chang
386071e91d Fix fingerprint enrollment animation is not in correct position.
1. Change SPFS ring progress bar and lottie animaiton from
layout_marginLeft/ layout_marginRight to marginStart/marginEnd for
RTL language.
2. Modify SPFS ring progress bar and lottie animaiton dimensioin for
RTL language and check three different SFPS projects.

Flag: NONE bug-fixing

Bug: 338911438

Test: manual build and check UI visually.
Change-Id: I88edad459eefbb3c6be337263045cd87685810e9
2024-09-09 07:02:54 +00:00
Yiyi Shen
439873d08e [Audiosharing] Change main toggle enable conditions.
Enable the toggle when:
1. In audio sharing
2. No connected LEA device. We will show dialog to guide users to
   connect a compatible device.
3. Has active device, which means it is a healthy state after broadcast
   -> unicast switch.

Flag: com.android.settingslib.flags.enable_le_audio_sharing
Test: atest
Bug: 305620450
Change-Id: I2c8067f7882df6943beb3704f63a3e1113ce55d2
2024-09-09 14:07:17 +08:00
Haijie Hong
cd7627c9ff Make bluetooth profile toggles configurable
BUG: 343317785
Test: atest BluetoothDetailsProfilesControllerTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I5aea110f7a42ffee20a56dbd9d5621f44311cc66
2024-09-09 13:23:12 +08:00