Commit Graph

143764 Commits

Author SHA1 Message Date
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
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
Pechetty Sravani (xWF)
457ab0748e Merge "Revert "Customize Fingerprint enroll activities"" into main 2024-09-09 05:10:26 +00:00
Pechetty Sravani (xWF)
994bff0033 Revert "Customize Fingerprint enroll activities"
Revert submission 29139483-494-trampoline

Reason for revert: DroidMonitor created revert due to b/365453068.

Reverted changes: /q/submissionid:29139483-494-trampoline

Change-Id: Ie2ab22694e7128e10eb11bf29340023e2bfd1343
2024-09-09 04:06:57 +00:00
Treehugger Robot
6aee1bfe5c Merge "Customize Fingerprint enroll activities" into main 2024-09-09 01:55:52 +00:00
Android Build Coastguard Worker
3867531985 Snap for 12337246 from 3f7e49dbc6 to 24Q4-release
Change-Id: I94c1f1a61a8158b25fcd508b59e3d3714da936ab
2024-09-07 21:21:46 +00:00
Xin Li
3f7e49dbc6 [automerger skipped] Merge "Merge 24Q3 to AOSP main" into main am: 3efb972a55 -s ours am: d47d22ecaf -s ours
am skip reason: Merged-In Ib5c41ab9214cf34a17ef02864dccffb5371cfe3a with SHA-1 b781605c1e is already in history

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

Change-Id: I7d04c5adccf6652641769da03bf90531e4e5cc62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 04:23:44 +00:00
Xin Li
04329450b3 [automerger skipped] Merge 24Q3 to AOSP main am: b3356e7c02 -s ours am: 8e32c5a98b -s ours
am skip reason: Merged-In Ib5c41ab9214cf34a17ef02864dccffb5371cfe3a with SHA-1 b781605c1e is already in history

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

Change-Id: I777a48e2ca0756ce29e5a6c12604c6ca0bd2a597
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 04:23:37 +00:00
Android Build Coastguard Worker
838881ebdd Snap for 12335440 from c3cfb42524 to 24Q4-release
Change-Id: Ib55476c909f11650b4b30dc88d7e040366a62ae1
2024-09-07 02:51:52 +00:00
Xin Li
d47d22ecaf [automerger skipped] Merge "Merge 24Q3 to AOSP main" into main am: 3efb972a55 -s ours
am skip reason: Merged-In Ib5c41ab9214cf34a17ef02864dccffb5371cfe3a with SHA-1 b781605c1e is already in history

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

Change-Id: Idfb56e083de5edfc54c71641994bb56d0903e179
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 02:27:57 +00:00
Xin Li
8e32c5a98b [automerger skipped] Merge 24Q3 to AOSP main am: b3356e7c02 -s ours
am skip reason: Merged-In Ib5c41ab9214cf34a17ef02864dccffb5371cfe3a with SHA-1 b781605c1e is already in history

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

Change-Id: I0fdd6e6217e3e07bfdacd195d71710a15347833c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 02:27:53 +00:00
Xin Li
3efb972a55 Merge "Merge 24Q3 to AOSP main" into main 2024-09-07 01:12:23 +00:00
Daniel Norman
216353a770 Makes Caption Language searchable only if captions are enabled.
Fix: 354785578
Flag: com.android.settings.accessibility.fix_a11y_settings_search
Test: atest CaptioningMoreOptionsFragmentTest
Test: adb shell pm clear com.google.android.settings.intelligence;
      disable captioning;
      search Settings for 'language', observe caption language missing
      enable captioning;
      search Settings for 'language', observe caption language present
Change-Id: I015d2c77fbd3f7b8fe713bafb3a49a86160ca958
2024-09-07 00:56:13 +00:00
Diya Bera
f5af756580 Export combined biometrics settings page
Flag: android.hardware.biometrics.flag.mandatory_biometrics
Bug: 339910752
Test: N/A
Change-Id: I2013c214b2b3f2f53454e77a4cb8028f2742441f
2024-09-06 22:29:15 +00:00
Cole Faust
9b89e3d643 Fix errorprone issues
IgnoredPureGetter, LenientFormatStringValidation, ProtocolBufferOrdinal, and ReturnValueIgnored.
https://errorprone.info/bugpatterns

Bug: 253827323
Test: RUN_ERROR_PRONE=true m javac-check
Change-Id: Ib0a0335aa04b36924adcbfecc830b7392c0e5bec
2024-09-06 13:34:50 -07:00
Treehugger Robot
c3cfb42524 Merge "Update main toggle state in User Settings onResume()" into main 2024-09-06 14:29:09 +00:00