Commit Graph

147265 Commits

Author SHA1 Message Date
Vincent Wang
8aa9b9a189 Avoid triggering BGE scaning multiple times
BUG: b/391255128
Flag: EXEMPT bug fixing
Test: Manual test and check BGE scanning behavior
Change-Id: I7d8649360a09f8eb48b990f5ae33ee6cd1723445
2025-02-14 06:35:50 +00:00
Shraddha Basantwani
f624140994 [automerger skipped] Merge "RESTRICT AUTOMERGE Add biometric authentication for package modification" into tm-dev am: f313de51cf am: ff5d2909c3 -s ours am: 6971b81737 -s ours
am skip reason: contains skip directive

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

Change-Id: Id45489cacf21c6baa0319fac8562ac3ff9a3c975
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-13 22:35:22 -08:00
Shraddha Basantwani
cc7351c800 [automerger skipped] RESTRICT AUTOMERGE Add biometric authentication for package modification am: 6179d4fdf3 am: 6d0d1c4fcb -s ours am: c0e03c7114 -s ours
am skip reason: contains skip directive

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

Change-Id: I34ed526fe27a249341db4772525c36568580e579
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-13 22:35:17 -08:00
Shraddha Basantwani
6971b81737 [automerger skipped] Merge "RESTRICT AUTOMERGE Add biometric authentication for package modification" into tm-dev am: f313de51cf am: ff5d2909c3 -s ours
am skip reason: contains skip directive

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

Change-Id: Id2902e7e2b7f24d38f5a331347b67f6709b71d4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-13 22:13:25 -08:00
Shraddha Basantwani
c0e03c7114 [automerger skipped] RESTRICT AUTOMERGE Add biometric authentication for package modification am: 6179d4fdf3 am: 6d0d1c4fcb -s ours
am skip reason: contains skip directive

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

Change-Id: I7bed3ce3b79d4ad77317de941732f44503e1531c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-13 22:13:16 -08:00
Yiyi Shen
80b28cb6cc [Audiosharing] Avoid concurrent issue when adding preference
Bug: 394685943
Flag: EXEMPT bug fix
Test: atest
Change-Id: I0d50dee9a36fd719236b52ab633a18818c3e10bb
2025-02-14 14:01:42 +08:00
Shraddha Basantwani
1135fa48e1 Merge "RESTRICT AUTOMERGE Add biometric authentication for package modification" into tm-dev am: f313de51cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/30686223

Change-Id: I6bc25fa953a90273e9bb412458e64361e6825e9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-13 21:37:32 -08:00
Shraddha Basantwani
89b17839a5 RESTRICT AUTOMERGE Add biometric authentication for package modification am: 6179d4fdf3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/30686223

Change-Id: Ia4175025417fd2b0b4cc54a42a1d218dd46148cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-13 21:37:26 -08:00
Shraddha Basantwani
ff5d2909c3 Merge "RESTRICT AUTOMERGE Add biometric authentication for package modification" into tm-dev am: f313de51cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/30686223

Change-Id: Iae8a311c061232a41614d3836cf89022c19c62db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-13 21:37:24 -08:00
Shraddha Basantwani
6d0d1c4fcb RESTRICT AUTOMERGE Add biometric authentication for package modification am: 6179d4fdf3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/30686223

Change-Id: If2b7208f85717859c7b38f826f674021cb098c5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-13 21:37:16 -08:00
Shraddha Basantwani
f313de51cf Merge "RESTRICT AUTOMERGE Add biometric authentication for package modification" into tm-dev 2025-02-13 21:13:39 -08:00
Menghan Li
6b916e6f29 feat(A11yFeedback): Pixel overlay to expose the feedback bucket ID
This change introduces a feature provider for Pixel overlays, allowing
customization of the feedback bucket ID on Android.

Bug: 393980229
Test: Manual testing for Pixel and non-Pixel overlay in real device
Test: atest AccessibilitySettingsTest
            FeedbackManagerTest
Flag: com.android.server.accessibility.enable_low_vision_generic_feedback
Change-Id: Ieeb1dba4de5c13a275e66781621cbfcca7219a5e
2025-02-14 03:01:41 +00:00
Menghan Li
c86e2f3472 feat(A11yFeedback): Add feedback entry for Accessibility page
This entry point allows users to access in the action bar.
Visibility is controlled by the aconfig and FeedbackManager#isAvailable

Bug: 393981463
Test: atest AccessibilitySettingsTest
Flag: com.android.server.accessibility.enable_low_vision_generic_feedback
Change-Id: I8c219b8220b5839121d14959fe526e6200afeecb
2025-02-14 03:01:13 +00:00
SongFerng Wang
b7d640ef36 Merge "Check if ECBMode when activate SIM card" into main 2025-02-13 18:41:42 -08:00
Daniel Norman
afb62eba9c Merge "Left & Right buttons for Display size & text preview" into main 2025-02-13 12:53:05 -08:00
William Leshner
e732852cfb Merge "Only show "hub mode" settings when the glanceable_hub_v2 flag is true." into main 2025-02-13 11:46:32 -08:00
Jason Chang
fdb47cee3b Merge "Fix Talkback should not announce disruptive announcement "Re-enter your PIN" page." into main 2025-02-13 10:39:42 -08:00
Jason Chang
5f42cebf56 Merge "Fix TalkBack announces disruptive announcement in PIN/PWD page." into main 2025-02-13 10:00:22 -08:00
Treehugger Robot
63e919d927 Merge "Inline MODES_API flag" into main 2025-02-13 09:43:04 -08:00
Matthew DeVore
3d09a33a73 Merge "Show per-displays pref groups after built-in" into main 2025-02-13 08:13:44 -08:00
hoffc
cd8573f3e1 Fix private volume UI items incorrectly displayed for public volume
The loading of private volume UI items is async, these private volume UI items should not be displayed if user has switched to public volume.

Limit private volume UI items only visible for private volume.

Bug: 396043608
(cherry picked from https://android-review.googlesource.com/q/commit:1bfb959c1f14226231145a24624731650278af3a)
Merged-In: I5ea5cfb5d73f74cae33d780ed1f7f04fba870e32
Change-Id: I5ea5cfb5d73f74cae33d780ed1f7f04fba870e32
Flag: EXEMPT bug fix
2025-02-13 07:39:58 -08:00
Pierre Barbier de Reuille
bf50c0baef Create new sections for developer options
To group desktop experience and window management options

Test: Build and check
Bug: 390625230
Flag: EXEMPT (refactor)

Change-Id: Ie076501da68045fa5f1098423a42d32f16a02838
2025-02-13 15:18:39 +00:00
Ze Li
c66d7bdcf3 Merge changes If4a471e2,I5ed1713d into main
* changes:
  [Temp bonding] Clean up old guest device logic as requirements changed
  [Temp bonding] Move audio sharing settings up
2025-02-13 06:59:22 -08:00
Pragya Bajoria
ea1cad3776 Merge "Rename DesktopMode API back" into main 2025-02-13 05:36:02 -08:00
songferngwang
538fb34027 Check if ECBMode when activate SIM card
If in ECBMode, start ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS to show a
dialog instead.

This align with the deactivate sim case

Bug: 393298086
Test: atest SubscriptionActivationRepositoryTest
Test: adb shell cmd phone emergency-callback-mode
Flag: EXEMPT bugfix
Change-Id: Id40d087b7d2d3ca99504ec75bac1c5e29c67258d
2025-02-13 12:04:07 +00:00
Garvita Jain
ff5b7ae421 [Expressive Design] Migrate Storage settings pages
This change includes -
* Using SettingsLib.CardPreferenceWidget in storage dashboard
* Using material theme color for progress bar

Test: manual
BUG: 349670985
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: Ib86ec9d1713316dd3dd3067c2cce87c89e15d9e0
2025-02-13 10:17:35 +00:00
Chelsea Hao
a219b4dabc Merge "Fix npe when broadcast code is null." into main 2025-02-13 02:09:35 -08:00
Ze Li
220312eab7 [Temp bonding] Clean up old guest device logic as requirements changed
Test: manual test
Bug: 362859132
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Change-Id: If4a471e2058873be5cdb0ee43371333ebdc9a38a
2025-02-13 17:17:29 +08:00
Yiyi Shen
8af37b2438 [Audiosharing] Adopt fallback API when developer preview on
Test: atest
Flag: com.android.settingslib.flags.audio_sharing_developer_option
Bug: 381946931
Change-Id: Ia7d7164c320e5e15db203f5d1f7958f194f04286
2025-02-13 17:12:25 +08:00
Menghan Li
267251aae3 feat(A11yFeedback): Add FeedbackManager for Accessibility page
This change introduces a new FeedbackManager class to identify and
determine the availability of user feedback. This API will be used
to check if feedback is available for a user to provide.

Bug: 393980229
Test: atest FeedbackManagerTest
Flag: com.android.server.accessibility.enable_low_vision_generic_feedback
Change-Id: I577aa626c18f5c449dc3970d1324cc4940d20639
2025-02-13 09:08:07 +00:00
chelseahao
8b42157d39 Show turn off talkback dialog if needed in find an audio stream page.
Test: atest
Bug: b/362151254
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Id48b6c360473202fed55f5b622a1967084ceef1c
2025-02-13 00:59:59 -08:00
chelseahao
af4b7112f0 Fix npe when broadcast code is null.
Test: atest
Bug: b/381775542
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Id342a4b3ce26927d5ae76c866da07763bf8fbfbe
2025-02-13 00:56:12 -08:00
Xinyi Mao
a000daad53 Merge changes from topic "improve_battery_usage" into main
* changes:
  [Expressive Battery] Implement the expressive style for anomaly hint chip
  [Expressive Battery] Refactor pref with anomaly hint.
2025-02-13 00:32:59 -08:00
Treehugger Robot
29a46cef81 Merge "Customize the color of seekbar" into main 2025-02-13 00:26:03 -08:00
Aleksander Morgado
bd56a0efd3 Merge changes from topic "hide-phone-number" into main
* changes:
  Phone number only available if telephony capable
  Phone number only available for admin users
  Added unit test for MobileNetworkPhoneNumberPreferenceController visibility
  Added unit tests for PhoneNumberPreferenceController visibility
2025-02-13 00:06:32 -08:00
chelseahao
1dfd19e5e0 Show turn off talkback dialog if needed in AudioStreamConfirmDialog.
Test: atest
Bug: b/362151254
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I29a20394193eca46ad8f42ffa0bceaad6f08da86
2025-02-12 23:49:08 -08:00
chelseahao
c967f95075 Skip "Stream paused" state change after a stream is set to "Wrong password" state.
Test: atest
Bug: b/396301469
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I2d7208cfffddbf6e885b6b1c78c478c582d488ef
2025-02-13 15:28:24 +08:00
Jason Chang
283f7c9107 Fix TalkBack announces disruptive announcement in PIN/PWD page.
Set the description state to A11y Node info for
"Must be at least 4 characters" when enter "Set a password",
"Must be fewer than 17 digits" in the "Set a PIN" or "Set a password"
and "PIN must be at least 4 digit, but a 6-digit PIN is recommended
for adding security"

Flag: EXEMPT bugfix

Bug: 384588020
Bug: 384604918
Bug: 384619356

Test: local build and verify Talkback announcement in PIN/PWD page.
Change-Id: Ib81abdc41dba1eeb854f2c7361362b5d55f8c7c7
2025-02-13 07:03:01 +00:00
Zoey Chen
23885c6351 Merge "[Settings] Add a flag to control show new System language picker UI or not" into main 2025-02-12 22:31:27 -08:00
Ze Li
d7b635fcc2 [Temp bonding] Move audio sharing settings up
Test: com.android.settingslib.bluetooth.CachedBluetoothDeviceTest
Bug: 362859132
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Change-Id: I5ed1713d6b51b2156f8e5ffcfcaa003f915b5937
2025-02-13 14:22:38 +08:00
Matthew DeVore
2edcb8de0c Show per-displays pref groups after built-in
When the built-in display settings as well as CD settings are both
present in the fragment, show external display settings category after
built-in. This applies to the per-display fragment and the initial
display list fragment.

Stop showing per-display settings nested in a parent list, as this was
causing extra spacing and complicating the code.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: ExternalDisplayPreferenceFragmentTest
Test: manually check topology mode for single display, multiple displays, in both fragments
Test: manually check v1 UI for single display, multiple displays, in both fragments
Bug: b/352648432
Bug: b/396116157
Change-Id: I7fdf72d198988feb1e7559f96a54f7680cf5b8a6
2025-02-13 05:27:05 +00:00
mxyyiyi
4f9e8cb751 [Expressive Battery] Implement the expressive style for anomaly hint chip
For expressive style:
- Update the padding start & end of pref with anomaly hint
- Add the new background res to update anomaly hint style to outlined
- Reduce the vertical space between pref text and anomaly hint.

Bug: 349652542
Test: visual
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: Iec9240d2edba5042c5a1f740b662db75bea41d0e
2025-02-13 13:18:23 +08:00
mxyyiyi
a2bdafaf5e [Expressive Battery] Refactor pref with anomaly hint.
- WarningFramePreference & warning_frame_preference.xml is a battery customized layout which looks like a standard Preference layout with an optional app icon & warning chip.
- PowerGaugePreference extends the WarningFramePreference to display the app Preference with optional warning chip in Battery > Battery Usage.
- PowerUsageTimePreference extends the WarningFramePreference to display the usage time with optional warning chip in Battery > Battery Usage > App battery usage.

Bug: 349652542
Test: atest BatteryUsageBreakdownControllerTest PowerGaugePreferenceTest PowerUsageTimeControllerTest
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I5d22703ccc487c54a2bbbc1d9737b92a2de54ba5
2025-02-13 13:16:10 +08:00
Treehugger Robot
793a6802ac Merge "Fix accessibility issues in Private DNS Settings" into main 2025-02-12 21:08:22 -08:00
Jason Chang
31be904d9b Fix Talkback should not announce disruptive announcement
"Re-enter your PIN" page.

Remove the calling announceForAccessibility() to prevent disruptive
announcement.

Flag: EXEMPT bugfix

Bug: 383259346
Bug: 384608181

Test: local build and verify Talkback announcement in
"Re-enter your PIN" page.

Change-Id: Ide29dde477a095db12eb959dc3d89b6689bd6ab2
2025-02-13 04:34:50 +00:00
Treehugger Robot
8efba3fee5 Merge "Do not disable LE audio offload as the developer option being disabled" into main 2025-02-12 20:25:04 -08:00
Weng Su
b3938a0244 Fix accessibility issues in Private DNS Settings
- Keep the Save button enabled at all times

- Show error in the Hostname view to remind the user
  - "The field is required" error
  - "The hostname you typed isn't valid" error

Bug: 386323822
Flag: EXEMPT bugfix
Test: Manual testing
atest -c PrivateDnsModeDialogPreferenceTest \
         PrivateDnsPreferenceControllerTest

Change-Id: I63973bd5001b838d7f27827e6a6d4ac96ac78ca9
2025-02-13 12:05:25 +08:00
SongFerng Wang
b8388cd90f Merge "Fix popping up the the VoLTE screen when it's disabled by the carrier." into main am: 9dc07f4e19 am: 4fec2b9e47
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3481415

Change-Id: I195bc0554e509f1cf3a391609a77f934f1cbdb80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-12 19:42:39 -08:00
SongFerng Wang
4fec2b9e47 Merge "Fix popping up the the VoLTE screen when it's disabled by the carrier." into main am: 9dc07f4e19
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3481415

Change-Id: Ic6c9a18dcf9c51be64858caccada960f18f2a58a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-12 19:18:18 -08:00
SongFerng Wang
9dc07f4e19 Merge "Fix popping up the the VoLTE screen when it's disabled by the carrier." into main 2025-02-12 18:51:11 -08:00