Commit Graph

146922 Commits

Author SHA1 Message Date
Treehugger Robot
be9c39f0aa Merge "Fix test error of SatelliteSettingsPreferenceControllerTest" into main 2025-02-17 05:51:07 -08:00
SongFerng Wang
6946f8238a Merge "The phone number title color is incorrect" into main 2025-02-17 05:50:30 -08:00
Garvita Jain
ba7233ad09 Merge "[Expressive Design] Migrate Storage settings pages" into main 2025-02-17 03:32:52 -08:00
tom hsu
543e446150 Fix test error of SatelliteSettingsPreferenceControllerTest
- Root cause is wrong Resouce string got.

Flag: EXEMPT bug fix
Fix: b/396571641
Test: atest passed
Change-Id: I25a4c7fff0ea20ab3c6e7fde99e1fba2b0288dfd
2025-02-17 11:28:47 +00:00
Jason Chang
22f7ea95b6 Fix the Contrast Ratio of the Fingerprint enrollment progress
and the "Fingerprint icon" are not high enough in the Fingerprint
enrollment flow for light theme.

Change the Fingerprint enrollment progress color which is based on
GM3 baseline color and ensure the contrast ratio is larger than 3:1

Flag: EXEMPT bugfix

Bug: 378400987

Test: local build and verify the UI color ratio
Change-Id: Ibd8b7c87f31f848f371f922461972756dd0e9090
2025-02-17 10:56:01 +00:00
songferngwang
bc4445ccb6 The phone number title color is incorrect
Remove the selectable = false

Bug: 385993616
Test: verify the UI on device
Flag: EXEMPT bugfix
Change-Id: I3bb456282b1ef065738a0f9c17fff417992eae4a
2025-02-17 09:07:53 +00:00
Aleksander Morgado
22c8840526 Return DISABLED_FOR_USER in deviceinfo/simstatus availability if not admin user
The correct return when checking for the SIM status field availability
for non-admin users is DISABLED_FOR_USER.

UNSUPPORTED_ON_DEVICE should only be used when the setting is
unconditionally hidden as the device does not support the feature.

Bug: 395714454
Flag: EXEMPT bugfix
Test: atest SimStatusPreferenceControllerTest

Change-Id: I9bd290f1bdd73909be383a24f2c762d295089ff6
2025-02-17 00:44:30 -08:00
Aleksander Morgado
d58d0be2e1 Return UNSUPPORTED_ON_DEVICE in deviceinfo/simstatus when no telephony
If the device does not have any telephony support (either via the
build-time config_show_sim_info=false boolean flag, or when not
declaring the PackageManager.FEATURE_TELEPHONY_DATA feature flag),
returning UNSUPPORTED_ON_DEVICE makes more sense than
CONDITIONALLY_UNAVAILABLE, as there is no runtime change that would
make it available.

Bug: 395714454
Flag: EXEMPT bugfix
Test: atest SimStatusPreferenceControllerTest
Change-Id: I0735c949a590190cdc177cbca835444691c50faa
2025-02-17 00:44:30 -08:00
Aleksander Morgado
4cc14d6553 Added unit tests for SimStatusPreferenceController visibility
The new test checks whether the item is available when
config_show_sim_info=false, when telephony is not data capable and
when the user is not admin,

The default visibility status for all tests is defined in the test
setup().

Bug: 395714454
Flag: EXEMPT test only
Test: atest SimStatusPreferenceControllerTest
Change-Id: I8791d9fd4d7ab8648946f044d7aa6a0e77283a00
2025-02-17 00:44:30 -08:00
Aleksander Morgado
64fb695d9b Return DISABLED_FOR_USER in IMEI availability if not admin user
The correct return when checking for the IMEI field availability
for non-admin users is DISABLED_FOR_USER.

UNSUPPORTED_ON_DEVICE should only be used when the setting is
unconditionally hidden as the device does not support the feature.

Bug: 395714454
Flag: EXEMPT bugfix
Test: atest ImeiInfoPreferenceControllerTest
Test: atest MobileNetworkImeiPreferenceControllerTest

Change-Id: I4ee89a84953993daad539d33d3a2e576540c580f
2025-02-17 00:44:30 -08:00
Aleksander Morgado
2a0ad1efdf Return UNSUPPORTED_ON_DEVICE in network/imei when no telephony
If the device does not have any telephony support (either via the
build-time config_show_sim_info=false boolean flag, or when not
declaring the PackageManager.FEATURE_TELEPHONY_DATA feature flag),
returning UNSUPPORTED_ON_DEVICE makes more sense than
CONDITIONALLY_UNAVAILABLE, as there is no runtime change that would
make it available.

This change also aligns the behavior with the deviceinfo/imei
entry.

Bug: 395714454
Flag: EXEMPT bugfix
Test: atest MobileNetworkImeiPreferenceControllerTest
Change-Id: Ia01cf3812f8343eabd8ea6970b691ac71432e8bd
2025-02-17 00:44:30 -08:00
Aleksander Morgado
dc86669298 Added unit test for MobileNetworkImeiPreferenceController visibility
The new test checks whether the item is available when the
SubscriptionUtil.isSimHardwareVisible() method returns true, i.e. if
the config_show_sim_info boolean flag is true on non-test runtime.

The default visibility status for all tests is defined in the test
setup() method.

Bug: 395714454
Flag: EXEMPT test only
Test: atest MobileNetworkImeiPreferenceControllerTest

Change-Id: Iaa8be041f0299ac36d532ed68fdc9c30e5690b11
2025-02-17 00:44:30 -08:00
Aleksander Morgado
4f4580e5f5 Added unit tests for ImeiInfoPreferenceController visibility
The new test checks whether the item is available when
config_show_sim_info=false, when telephony is not data capable and
when the user is not admin,

The default visibility status for all tests is defined in the test
setup().

Bug: 395714454
Flag: EXEMPT test only
Test: atest ImeiInfoPreferenceControllerTest
Change-Id: Ic4df12da216e5c343cf696d931ff02dc942d105f
2025-02-17 00:44:30 -08:00
Aleksander Morgado
a66d27c488 Return UNSUPPORTED_ON_DEVICE in network/phonenumber when no telephony
If the device does not have any telephony support (either via the
build-time config_show_sim_info=false boolean flag, or when not
declaring the PackageManager.FEATURE_TELEPHONY_DATA feature flag),
returning UNSUPPORTED_ON_DEVICE makes more sense than
CONDITIONALLY_UNAVAILABLE, as there is no runtime change that would
make it available.

This change also aligns the behavior with the deviceinfo/phonenumber
entry.

Bug: 395714454
Flag: EXEMPT bugfix
Test: atest MobileNetworkPhoneNumberPreferenceControllerTest

Change-Id: I5f2392969fad1884a89de3870ad37be5601fbe37
2025-02-17 00:44:30 -08:00
Yiyi Shen
c5ef00c9ae [Audiosharing] Add actions to AudioSharingReceiver intent filter
Test: compile
Bug: 395786392
Flag: EXEMPT manifest
Change-Id: Id918afe9728867df89a6f0f755520bf837fab6e0
2025-02-17 15:48:28 +08:00
Yiyi Shen
6dc3e5938f [Audiosharing] Show add source notif when app not in foreground
Test: atest
Bug: 395786392
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I3c88c4209cf34c8f337965ffb45fb8e9a4db0e05
2025-02-17 14:00:36 +08:00
Treehugger Robot
90feafb10a [automerger skipped] Merge "Disable Reset app preference during the call." into main am: f7631498f1 am: 962cd2e8d8 -s ours
am skip reason: Merged-In If64b6c878b2f793c6852d000d9d90dda18ef2420 with SHA-1 c6544f991f is already in history

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

Change-Id: I5ac4632bfd1cd6debad5beb1be88828ccfc63941
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-16 20:39:43 -08:00
Treehugger Robot
962cd2e8d8 Merge "Disable Reset app preference during the call." into main am: f7631498f1
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3498088

Change-Id: I26d7efefb17009300631096118978ec872ea8fc2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-16 20:15:38 -08:00
Menghan Li
972e7a320c Merge changes from topics "A11yFeedback", "AccessibilityFeedbackFeatureProvider" into main
* changes:
  feat(A11yFeedback): Pixel overlay to expose the feedback bucket ID
  feat(A11yFeedback): Add feedback entry for Accessibility page
  feat(A11yFeedback): Add FeedbackManager for Accessibility page
2025-02-16 19:45:09 -08:00
Treehugger Robot
f7631498f1 Merge "Disable Reset app preference during the call." into main 2025-02-16 19:44:22 -08:00
Fan Wu
41bb05c7e9 Disable Reset app preference during the call.
Bug: 395750645
Test: manual
Flag: EXEMPT Bug fix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c6544f991faf8dd1abb0855dd5dcacb08f028e04)
Merged-In: If64b6c878b2f793c6852d000d9d90dda18ef2420
Change-Id: If64b6c878b2f793c6852d000d9d90dda18ef2420
2025-02-16 19:05:41 -08:00
Chun-Ku Lin
0f84b652cc Make ColorAndMotionFragment fully in Catalyst
Bug: 392190782
Test: manual (verify the navigation and the search still works the same)
Test: atest
Flag: com.android.settings.flags.catalyst_accessibility_color_and_motion

Change-Id: I7717390c70246503aec545991fd9a40be5152373
2025-02-17 03:01:36 +00:00
Nikhil Nayunigari
2c90d30415 Merge "Changes to add Ethernet settings row item" into main 2025-02-15 11:46:13 -08:00
Nikhil Nayunigari
bfd3722e06 Changes to add Ethernet settings row item
Adds EthernetSettings row item to NetworkProviderSettings and its
controller.

Flag: com.android.settings.connectivity.ethernet_settings

Test: atest
SettingsRoboTests:
com.android.settings.network.EthernetSwitchPreferenceControllerTest

Change-Id: I27965ad0c8563657b17e0aa6d3bd19b97fcf5615
2025-02-15 18:20:46 +00:00
Treehugger Robot
d171e3e12d Merge "Make sure the flags are setup correctly in the test." into main 2025-02-14 15:02:35 -08:00
Tom Hsu
28f5fbb59d Merge "[Satellite Settings] Show device's app info on Satellite settings page." into main 2025-02-14 14:03:10 -08:00
Matthew DeVore
ce85d2ea04 Merge "Show topology pane detached from mirror toggle" into main 2025-02-14 13:50:21 -08:00
Pierre Barbier de Reuille
f4505d8b82 Make sure the flags are setup correctly in the test.
Test: atest DesktopModePreferenceControllerTest
Flag: EXEMPT (bug fix)
Fix: 396663349
Change-Id: I8954dfad0a15791545f6c2ff88a488c553e02c69
2025-02-14 21:47:25 +00:00
Treehugger Robot
e69d209b3c Merge "Add hint to EditText for Talkback" into main 2025-02-14 13:44:14 -08:00
Bill Yi
e966ca60c1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6e796557a029efa817aa3a9df2d16cf795f0afa4
2025-02-14 12:43:08 -08:00
Bill Yi
e5c3cc685e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I72b0df2f38fccec8dac5f61d3366ebc96256f256
2025-02-14 12:40:41 -08:00
Bill Yi
a74ee1bf77 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I87af555316ab398fac9ec6f8c03ba95bbf0dab32
2025-02-14 12:38:42 -08:00
Matthew DeVore
e3dc23f767 Show topology pane detached from mirror toggle
Remove the extra blue border from the topology pane and give the toggle
below it its own rounded corners.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: screenshots
Test: verify display blocks are still clipped to the topology holder view
Bug: b/396116157
Change-Id: I3c0f826db24e5c599c6b51f71d099976fb04cbf0
2025-02-14 13:52:28 -06:00
Pawan Wagh
e443eaf40c Merge "Check if device is online before starting 16kb test" into main am: 7ee0e07a50 am: ca9409db6d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3489997

Change-Id: I03d14eb18e2a47f46bccecb96ed1635a3c5f2355
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-14 11:46:40 -08:00
Treehugger Robot
0a02f71b2b Merge "Styling seekbar color for Accessibility" into main 2025-02-14 11:46:01 -08:00
Mill Chen
5a310e9c8f Add hint to EditText for Talkback
Set the title as the hint of EditText to fix the missing accessibility
label.

Fix: 386758099
Test: atest DeviceNamePreferenceControllerTest
Flag: EXEMPT bug fix
Change-Id: Icde6796aa3faa3e0ad79611ba2dd0b18b13590a7
2025-02-14 19:22:55 +00:00
Pawan Wagh
ca9409db6d Merge "Check if device is online before starting 16kb test" into main am: 7ee0e07a50
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3489997

Change-Id: I179833c4f14414ddd823136c061e4c6f21a21aa0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-14 11:22:23 -08:00
Pawan Wagh
7ee0e07a50 Merge "Check if device is online before starting 16kb test" into main 2025-02-14 10:40:31 -08:00
Mill Chen
8485f0e8f2 Styling seekbar color for Accessibility
Bug: 317163103
Test: visual test
Flag: EXEMPT style update
Change-Id: I5fc685d8bf5f7e67f6f1876db2f8885e5f2151c7
2025-02-14 18:38:50 +00:00
tom hsu
bb80fe2df1 [Satellite Settings] Show device's app info on Satellite settings page.
- Shows device apps' info up to 3 on Satellite settings' page.
 - Add a new page to show all device's app info with Satellite supported.

Flag: com.android.internal.telephony.flags.satellite_25q4_apis
Fix: b/395813844
Test: atest pass
Change-Id: Ibd5e1c74b636639082ec9477f2b6796bcbc8340d
2025-02-14 06:40:10 -08:00
tom hsu
63242bc3ff [Satellite Settings] Add a new API to SatelliteRepository
Flag: com.android.internal.telephony.flags.satellite_25q4_apis
Bug: b/395813844
Test: atest pass
Change-Id: Ife9e370dbcb3694adfd0bfbcc2ec2a742fbc4434
2025-02-14 06:39:45 -08:00
Treehugger Robot
d20e849d56 Merge "Create new sections for developer options" into main 2025-02-14 03:40:28 -08:00
Shubhi Saxena
8f9c49bc8b Merge "Fix private volume UI items incorrectly displayed for public volume" into main 2025-02-14 03:05:27 -08:00
Vincent Wang
3792641080 Merge "Avoid triggering BGE scaning multiple times" into main 2025-02-14 02:17:21 -08:00
Yiyi Shen
6dda673bf0 Merge "Show device in Media devices section if has LEA member connected" into main 2025-02-14 02:03:04 -08:00
Simon Wingrove
7d82a2fa9c Update "device admin apps" to "device admin"
As per agreed UXW proposal (see bug)

Bug: 396587820
Test: manually
Flag: EXEMPT string change
Change-Id: I65b532b61a4e34395ef164ad1a7314763ce6ea40
2025-02-14 09:54:23 +00:00
Yiyi Shen
9b106ddf42 Merge "[Audiosharing] Avoid concurrent issue when adding preference" into main 2025-02-14 00:11:41 -08:00
Shraddha Basantwani
b28179714d [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: f624140994 -s ours am: 9c4fe2cba8 -s ours
am skip reason: contains skip directive

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

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

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

Change-Id: I67c8d82d9aaf155685c154a4f83d40cc5a04645e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-13 23:37:26 -08:00
Shraddha Basantwani
9c4fe2cba8 [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: f624140994 -s ours
am skip reason: contains skip directive

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

Change-Id: I242a0dc8482fbe8ccf217c6d3e3f2d605ad85bb7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-13 23:02:06 -08:00