Commit Graph

146804 Commits

Author SHA1 Message Date
danielwbhuang
508567edd8 Talkback shouldn't announce in list numbers.
These pages shouldn't announce in list numbers when use Talkback.
1. TemperatureUnitFragment
2. MeasurementSystemItemFragment
3. FirstDayOfWeekItemFragment

Bug: 385671217
Flag: EXEMPT bug fix
Test: test on real devices
Change-Id: Ib691947c3b34cd59e29ed2fd173a77633c5115b5
2025-02-21 01:19:05 -08:00
Treehugger Robot
540361621a Merge "Fixed crash issues in Emergency Callback Mode" into main 2025-02-20 03:35:54 -08:00
Jason Chang
5cf92e60c2 Merge "Fix for checking SUW/Setting Expressive style API" into main 2025-02-20 02:56:42 -08:00
Treehugger Robot
acd833886f Merge "Persist dev option reboot dialog on rotation." into main 2025-02-20 02:37:32 -08:00
Weng Su
af065146d5 Fixed crash issues in Emergency Callback Mode
- Avoid using controllers when Catalyst design is enabled

Bug: 394015881
Flag: EXEMPT bugfix
Test: Manual testing
  atest NetworkDashboardFragmentTest
Change-Id: I4393be5e76c0328f2a53f1d828814491991557f1
2025-02-20 18:24:16 +08:00
Treehugger Robot
3fc8745924 Merge "Fix the animation in the “How to set up Face Unlock” page can’t be paused or hidden." into main 2025-02-20 02:01:52 -08:00
Jason Chang
b5857a7af9 Fix for checking SUW/Setting Expressive style API
Flag: EXEMPT use SUW/Settings Expressive style API to check

Bug: 394223273

Test: build and manually check the UI and its behaviors
Change-Id: Iecbe443a20c4a228a6bd14fd061b0a731fbbd95a
2025-02-20 09:29:21 +00:00
alinazaidi
cf33160dc5 Persist dev option reboot dialog on rotation.
Use a ViewModel to store reboot dialog fragment state on rotations.

Test: locally verified rotations on few dev options that use the reboot fragment
Test: atest
com.android.settings.development.RebootConfirmationDialogFragmentTest
--iterations 25 (Passed)
Bug: 356273849
Flag: EXEMPT bug fix

Change-Id: I154170ea5fa91bcbec32af43853c5f99f8e8253d
2025-02-20 01:25:12 -08:00
Jason Chang
90802728ae Fix the animation in the “How to set up Face Unlock” page can’t
be paused or hidden.

Handling the Lottie onClick event to pause/resume the animation.

Flag: EXEMPT bug-fix

Bug: 378585895

Test: local build and verify to pause / resume lottie animation.
Change-Id: I36ff303dcdb994fb5ad9d90957d9a3e8534c3634
2025-02-20 08:43:18 +00:00
Treehugger Robot
010869fc7e [automerger skipped] Merge "Fix crash due to display name is not set to View." into main am: f31808e692 am: 4afe48b684 -s ours
am skip reason: Merged-In I2a70c4e31c182f99cc4fb3da93ce7911da005429 with SHA-1 04006ccb48 is already in history

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

Change-Id: Ieef95a63090cd57ba3e9d51e58702b66d12afc9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-19 21:15:16 -08:00
Treehugger Robot
4afe48b684 Merge "Fix crash due to display name is not set to View." into main am: f31808e692
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3501106

Change-Id: Iefac0a42aa02ff26b0a6a780e9d00a106295cec7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-19 20:38:39 -08:00
Treehugger Robot
f31808e692 Merge "Fix crash due to display name is not set to View." into main 2025-02-19 20:10:11 -08:00
tom hsu
58f40ebc7b Fix crash due to display name is not set to View.
Flag: EXEMPT bug fix
Fix: b/396700275
Fix: b/396606595
Test: manual test
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:04006ccb4867a17e7e59c64327d102e9b30af5f9)
Merged-In: I2a70c4e31c182f99cc4fb3da93ce7911da005429
Change-Id: I2a70c4e31c182f99cc4fb3da93ce7911da005429
2025-02-19 19:18:06 -08:00
Treehugger Robot
b77224f98a Merge "Revert "Update background color for Settings homepage"" into main 2025-02-19 18:10:47 -08:00
Angela Wang
57032340db Merge "Add ambient volume control related logs in Settings" into main 2025-02-19 18:03:48 -08:00
Yuri Lin
f64677e095 Merge "Call super.updateState() to set checked status of work profile switch" into main 2025-02-19 14:30:49 -08:00
Yuri Lin
21327c6e41 Call super.updateState() to set checked status of work profile switch
The switch preference was not correctly reflecting the state of the cooldown setting because the checked state of the switch is set in the parent class's updateState() method.

Fixes: 397554453
Flag: EXEMPT bugfix
Test: manual
Change-Id: I2ce6fe71ac6ed0249c0ad39e99ff5929659d6b5a
2025-02-19 15:30:51 -05:00
Treehugger Robot
7d8717df58 Merge "Remove the perform backup tasks flag." into main 2025-02-19 09:05:21 -08:00
Nikhil Nayunigari
81bb2588f5 Merge "Add ethernet interface details settings subpage" into main 2025-02-19 08:34:03 -08:00
Treehugger Robot
a019ed062a Merge "Modify the default satellite category title." into main 2025-02-19 07:57:24 -08:00
Tetiana Meronyk
1cfb8a690d Merge "Put "Add user" dialog within activity to capture focus" into main 2025-02-19 07:48:32 -08:00
Yiyi Shen
92721a8650 Merge "[Audiosharing] Handle add source from notif in receiver" into main 2025-02-19 07:38:47 -08:00
Yiyi Shen
2114b0252f Merge "[Audiosharing] Handle cancel notification in receiver" into main 2025-02-19 07:38:32 -08:00
Owner Cleanup Bot
f1c3bfbac3 Merge "[owners] Remove bonianchen@google.com from src/com/android/settings/wifi/calling/OWNERS" into main am: 5c16cc9139 am: a51502b4fc
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3498934

Change-Id: Id4530616d92c5e20b9040e0d8d9dd1ee96b5f14c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-19 07:34:49 -08:00
Owner Cleanup Bot
a51502b4fc Merge "[owners] Remove bonianchen@google.com from src/com/android/settings/wifi/calling/OWNERS" into main am: 5c16cc9139
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3498934

Change-Id: I65fa211c27990261e5bfaf699dc3f3661c27330b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-19 06:58:45 -08:00
Owner Cleanup Bot
5c16cc9139 Merge "[owners] Remove bonianchen@google.com from src/com/android/settings/wifi/calling/OWNERS" into main 2025-02-19 06:19:07 -08:00
Matías Hernández
a8b18f953d Merge "Hide ZenMode.getRule() - Settings" into main 2025-02-19 05:43:17 -08:00
Mill Chen
d4a8ebab43 Revert "Update background color for Settings homepage"
Revert submission 31308110-update_bg_color

Reason for revert: revert it for version update. see b/39168510

Reverted changes: /q/submissionid:31308110-update_bg_color

Change-Id: Iac217ab6e5f49ecada79d3258df37e822f452f08
2025-02-19 05:23:44 -08:00
Yiyi Shen
b7518c56e1 Merge "[Audiosharing] Revert ag/31626042 (exclude utils)" into main 2025-02-19 02:32:06 -08:00
Yiyi Shen
fca184598d [Audiosharing] Handle add source from notif in receiver
Test: atest
Bug: 395786392
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Ia9a74a48224974c10524f1ae379cd9de2ff42430
2025-02-19 18:04:13 +08:00
Garvita Jain
c543fa8101 Merge "L10n fix for IW locale in storage_summary string" into main 2025-02-19 01:38:19 -08:00
tom hsu
5d2678938f Modify the default satellite category title.
Flag: EXEMPT resource update
Fix: b/382707562
Test: Manual test
Change-Id: I6f6e748de4ec6c44bac1fda15a68f587e2708182
2025-02-19 09:35:59 +00:00
Yiyi Shen
2c5f451b3a [Audiosharing] Revert ag/31626042 (exclude utils)
FP will handle set temp for manual pair in Settings

Test: atest
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Bug: 392004799
Change-Id: I3afae523ef0d5a6c236a482127a714f422a6e000
2025-02-19 01:23:52 -08:00
Aleksander Morgado
4a2abf7705 Early check for SIM EID availability based on telephony or user admin
The SIM EID field was already not being shown if the
PackageManger.FEATURE_TELEPHONY_DATA feature flag was not set, per the
check in getIsAvailableAndUpdateEid().

The async availability update was introduced in the context of bug
304560734, because the UI could block until the EID value was ready.
The config_show_sim_info check was left in getAvailabilityStatus() as
that cannot block.

This change moves to getAvailabilityStatus() the availability check
based on the PackageManager feature flags (which are set on system
boot and not changed during runtime) and also based on whether the
user is admin or not, as with any other telephony related setting.
None of these two checks would lead to ANR state.

Bug: 395714454
Flag: EXEMPT bugfix
Test: atest SimEidPreferenceControllerTest

Change-Id: I3447091670345285132a2acaf45cd129c2b84c00
2025-02-19 00:50:05 -08:00
Yiyi Shen
0ccc9eefc4 [Audiosharing] Handle cancel notification in receiver
Test: atest
Bug: 395786392
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Ib4b8ed3eff1df01819b37be2c1334abeae00ea2c
2025-02-19 15:01:03 +08:00
Treehugger Robot
9fb0e28bf7 Merge "Fix BiometricEnrollActivityTest Fail" into main 2025-02-18 23:00:01 -08:00
Treehugger Robot
22e2cd594e Merge "Fixed accessibility issues in Wi-Fi SSID view" into main 2025-02-18 22:38:53 -08:00
YK Hung
7ab462f1d7 Merge "[Expressive Battery] Migrate tips card in battery usage to banner message" into main 2025-02-18 21:25:50 -08:00
Weng Su
d44941bd00 Fixed accessibility issues in Wi-Fi SSID view
- Keep the Save button enabled at all times

- Show "Enter the SSID" to remind the user

Bug: 386897596
Flag: EXEMPT bugfix
Test: Manual testing
  atest SettingsUnitTests:AddNetworkFragmentTest
  atest WifiConfigController2Test
Change-Id: I6cc6b197864511ee2c1c92affc67698b1761f11d
2025-02-19 13:22:26 +08:00
Yiyi Shen
f5098877fc Merge "[Audiosharing] Show add source notif when app not in foreground" into main 2025-02-18 21:16:48 -08:00
Yiyi Shen
baf07b187a Merge "[Audiosharing] Add actions to AudioSharingReceiver intent filter" into main 2025-02-18 21:16:48 -08:00
Nikhil Nayunigari
487a4774d1 Add ethernet interface details settings subpage
Adds a click listener to the ethernet interface row and displays a
settings subpage with interface connection status.

Flag: com.android.settings.connectivity.ethernet_settings

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

Change-Id: Id64ce3657b47dd4ca70d425dd3d13227c8468d2c
2025-02-19 04:55:22 +00:00
Garvita Jain
4e5595050f L10n fix for IW locale in storage_summary string
storage_summary is passed as a single string of format "32 GB".
Spliting the phrase to allow TC to remove whitespace in case of iw
translations.

Old Translation : <free_space>
New Translation: <free_space_value> <free_space_unit>

Bug: 387197875
Test: manual
Flag: EXEMPT bugfix
Change-Id: I91abf58df472650a6278b08e4daa5d32e7f90da9
2025-02-19 04:19:16 +00:00
mxyyiyi
9ba79d8b02 [Expressive Battery] Migrate tips card in battery usage to banner message
- Update card preference: Update icon hint color by banner attention level
- Remove redundant color token: Use the existing Material yellow as a warning color

Bug: 349652542
Test: atest BatteryTipsControllerTest
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I35730eb4716e9dbd712c22db63490e8bc06fc482
2025-02-19 10:33:13 +08:00
Treehugger Robot
1c7a5041a1 Merge "Post 16KB notification for all users" into main am: 0414af8d0d am: 8971b66a8d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3494927

Change-Id: Ia6707aa93c838e5c6f5245ecb56362ceea42f6e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-18 17:56:55 -08:00
Treehugger Robot
8be34b7d4c Merge "aconfig flags for Settings are in the system_ext container" into main 2025-02-18 17:38:09 -08:00
Yongshun Liu
67c5db13ff Merge "a11y: Clean up magnification mode controller and fix lint errors" into main 2025-02-18 17:28:49 -08:00
Treehugger Robot
8971b66a8d Merge "Post 16KB notification for all users" into main am: 0414af8d0d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3494927

Change-Id: I19888c5dc377d54e6dd5d9ae3a64ff8e6ace616c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-18 17:20:34 -08:00
Treehugger Robot
0414af8d0d Merge "Post 16KB notification for all users" into main 2025-02-18 16:53:54 -08:00
Treehugger Robot
4e49c7258c Merge "[Catalyst] Rebind restricted preferences for SettingsPreferenceFragment" into main 2025-02-18 16:35:12 -08:00