Commit Graph

140741 Commits

Author SHA1 Message Date
Treehugger Robot
75bfd43513 Merge "Fix atest build error in settings.fuelgauge." into main 2024-05-27 08:45:53 +00:00
YK Hung
d029d32ff3 Merge "Use different TAG name for logging in BatterySettingsStorage" into main 2024-05-27 08:36:53 +00:00
Chaohui Wang
4520d1365f Fix CellDataPreferenceTest
Fix: 337417779
Test: unit test
Change-Id: I47ba4057a036e63809376a3a88c1a0b1e1767d0a
2024-05-27 16:26:53 +08:00
Yiyi Shen
43c971f621 Merge "[Audiosharing] Rename CallsAndAlarms components" into main 2024-05-27 07:50:33 +00:00
Chaohui Wang
a45efe1bbf Sort in slot selectable subscriptions first
Then the ones that not in slot.

Bug: 340361264
Test: manual - on SIMs
Test: unit test
Change-Id: If7150bd2fa5c1b7d42fe34ef2e814ba540454ed8
2024-05-27 07:39:38 +00:00
Jacky Wang
164dcd0166 Use different TAG name for logging in BatterySettingsStorage
Change-Id: I75b0ca751c76ddf29cb583e101eac69a62570233
Bug: 325144964
2024-05-27 07:23:19 +00:00
mxyyiyi
3b962e3b9d Fix atest build error in settings.fuelgauge.
Bug: 342963499
Fix: 342963499
Test: atest SettingsRoboTests:com.android.settings.fuelgauge
Change-Id: If34e7dd6af990dd4e678002e46c0e3794b9c0a61
2024-05-27 15:19:47 +08:00
Chelsea Hao
266ca4d528 Merge "Create activity for BluetoothDashboardFragment." into main 2024-05-27 07:19:32 +00:00
Chaohui Wang
59a28a244c Setup backup calling for new UI
Backup calling new handles by CrossSimCallingViewModel.
CrossSimCallingViewModel keep monitoring the active SIMs, and setup
backup calling if needed.

Fix: 340444839
Test: manual - SIMs
Test: manual - Mobile Settings
Test: unit test
Change-Id: I0a3451f1e8c3984b2348cf628fb1d91ce7aaecec
2024-05-27 15:16:33 +08:00
chelseahao
682a831594 Create activity for BluetoothDashboardFragment.
This activity will be launched by clicking on a notification sent from the bluetooth server.

Bug: 342407973
Test: manual
Change-Id: Ie05c096e98c1de74d994be46967c8dd90887169a
2024-05-27 05:36:35 +00:00
Chelsea Hao
65372dac44 Merge "Update string." into main 2024-05-27 05:24:54 +00:00
Yiyi Shen
75572734b4 [Audiosharing] Rename CallsAndAlarms components
Bug: 305620450
Test: atest
Change-Id: I470bc3300fe385c6a2e03c4623204d58c697c89e
2024-05-27 11:44:24 +08:00
Chelsea Hao
597d013f63 Merge "Disable output switcher on assistant phone UMO." into main 2024-05-27 03:33:33 +00:00
Wu Ahan
25ce76f667 Extend SfpsEnrollmentFeature for text updating when progress changes
Bug: 341693248
Test: atest SfpsEnrollmentFeatureImplTest
Change-Id: I63576f129f4453d4db088adfaa472df797823514
2024-05-27 03:05:55 +00:00
jasonwshsu
2a3815776c Add Quick Settings shortcut option into Hearing Devices accessibility settings page
* In Android V, we can add qs as one of the accessibility shortcut option to be more discoverable.

Bug: 338327560
Flag: EXEMPT bugfix
Test: check shortcut option in hearing devices settings page
Change-Id: I60d4da2432605a5369eb87c1e594539d40c53ae8
2024-05-27 03:12:28 +08:00
David Jacobo
1377be2323 Revert "settings: Make use of ACTION_NETWORK_PROVIDER_SETTINGS"
Revert submission 27019285-ACTION_NETWORK_PROVIDER_SETTINGS

Reason for revert: b/338527563 CL seems to be introducing jank for systemui tests somehow, reverting to get out of the way

Reverted changes: /q/submissionid:27019285-ACTION_NETWORK_PROVIDER_SETTINGS

Change-Id: I48bc0f4efc22dbff9f983b4606442b3ebd6d584c
2024-05-25 05:30:22 +00:00
Chaohui Wang
5b0211ea75 Merge "Check APN type is selected before save" into main 2024-05-25 03:47:22 +00:00
Joseph Vincent
5d062852c9 Merge "Face and fingerprint unlock strings for private space" into main 2024-05-25 01:29:35 +00:00
Vlad Marica
31938e13d8 Ignore OEM Unlocking when wiping PDB during factory reset on V+
On Android V and newer, the PDB will no longer wipe itself on start,
even if OEM Unlocking is enabled, so trusted factory resets must
wipe it.

Bug: 336362291
Flag: EXEMPT bugfix
Test: atest & manual testing
Change-Id: I67cc0fc3e7470c5ddddd03d23942706345361f8f
2024-05-24 22:47:35 +00:00
Yining Liu
3d0640985b Clean un-used code for notification cool down
Clean the un-used code for notification cool down.

Bug: 330606963
Test: PoliteNotificationGlobalPreferenceControllerTest
Flag: com.android.server.notification.polite_notifications
Change-Id: I081a35c8be8b9996fabb04b238cb426f0da2de58
2024-05-24 22:18:48 +00:00
Yining Liu
fae05be212 Add tests for updating Settings Page for Avalanche Suppression
Add unit tests for the updating of the Settings
Page for the Avalanche
visual and auditory Suppression.

Bug: 330606963
Test: PoliteNotificationGlobalPreferenceControllerTest, PoliteNotifWorkProfileToggleControllerTest
Flag: com.android.server.notification.polite_notifications
Change-Id: I8a84f688eb0b3981fbb0fdb699755b4601583702
2024-05-24 22:18:48 +00:00
Yining Liu
bf6d958073 Update Settings Page for Avalanche Suppression
Update the Settings Page for the Avalanche
visual and auditory Suppression.

Bug: 330606963
Test: PoliteNotificationPreferenceControllerTest
Flag: com.android.server.notification.polite_notifications
Change-Id: I60b64a0c00cafb22ac1db74285002862affb82d2
2024-05-24 22:18:37 +00:00
Bill Yi
aa6eb398fd [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6a85005ba1 -s ours
am skip reason: contains skip directive

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

Change-Id: I25a873ee86309b67e904f8816c8e0931fff93796
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 16:11:05 +00:00
Bill Yi
760e54cc9a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a11d3f5527 -s ours
am skip reason: contains skip directive

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

Change-Id: I9e197a3afe9dc9f3c4d43961686b57ba321f1848
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 16:02:20 +00:00
Chaohui Wang
2faad6df6e Check APN type is selected before save
Not allow save APN without type.

Fix: 340969975
Test: manual - APN Settings
Test: unit test
Change-Id: I91f8e8137fc234c9c860fd446b7a1e2acfa11fc7
2024-05-24 14:58:42 +00:00
Haijie Hong
574d64197a Merge "Refresh ANC UI if metadata is changed" into main 2024-05-24 12:15:07 +00:00
Haijie Hong
99a7e76561 Refresh ANC UI if metadata is changed
Test: I didn't find any existed unit test for ANC, I manually tested in phone.
Bug: 341000840
Change-Id: If09abae5835225f3d9190a05d8308dbaa9e9b63d
2024-05-24 09:50:54 +00:00
Haijie Hong
b05f1c4a95 Merge "Update media output string to "Sharing audio"" into main 2024-05-24 09:11:11 +00:00
chelseahao
ded9c08895 Update string.
Bug: 322819449
Test: manual
Change-Id: If3bb8646f5e54eb8aa8003b9c1b5e9de55dec254
2024-05-24 16:09:22 +08:00
Treehugger Robot
af2fbc5d05 Merge "Fix flaky test in BootBroadcastReceiverTest." into main 2024-05-24 07:52:16 +00:00
Himanshu Gupta
63da8c35f7 Do not move to ALL_APPS when default Launcher is not system.
Currently we fire ALL_APP intent for System Launchers at the
end of PS setup flow, even when the system launcher (NexusLauncher)
was not the default Launcher.

In such cases, the user is moved to NexusLauncher, but they cannot
unlock PS (only default launcher can do it), leading to crashes.
To fix this, we do not fire the intent in case non system Launcher
has the HOME role.

Bug: 331722929
Test: Manual build and flash
Flag: NA
Change-Id: I77353474cc74028d72508c433c89b6116b4148bd
2024-05-24 08:17:01 +01:00
Chaohui Wang
6388e9e657 Merge "Reduce flaky of DataUsageSummaryPreference" into main 2024-05-24 06:56:06 +00:00
Haijie Hong
8b0bcf4ac4 Update media output string to "Sharing audio"
Test: only string update
Bug: 327080094
Change-Id: I1259c04a125cb6a350ec4a05d3a2807b8f693b46
2024-05-24 14:23:28 +08:00
chelseahao
61d1b552b1 Disable output switcher on assistant phone UMO.
Bug: 308368124
Test: manual
Change-Id: I8200794e6424f996193ba2181927ec76a43033c8
2024-05-24 13:39:43 +08:00
mxyyiyi
777418e178 Fix flaky test in BootBroadcastReceiverTest.
Bug: 342512308
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage
Change-Id: Ia4542995137ddbec0740e1da7347bf535f62f849
2024-05-24 13:38:25 +08:00
josephpv
c5611bfbc1 Face and fingerprint unlock strings for private space
Recordings:
b/326399895#comment10

Bug: 326399895
Test: Manual
Change-Id: I9f4449439639c93a10475333a91059f855bce07b
2024-05-24 05:00:44 +00:00
Bill Yi
6a85005ba1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id180fa6078d4749521ae92b368eb7389f32e6d5a
2024-05-23 21:26:03 -07:00
Bill Yi
a11d3f5527 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic053db3d0f3738da4064fa0a9e165cc7d23f7038
2024-05-23 21:20:51 -07:00
YK Hung
2d8ea72cec Merge "Revert^2 "Add a11y focus on battery chart a11y node."" into main 2024-05-24 04:15:05 +00:00
Chaohui Wang
168456c46a Reduce flaky of DataUsageSummaryPreference
- Set SnapshotTimeMs initial value to unknown
- Reserve height for DataUsageSummaryPreference

Bug: 341234382
Test: manual - on Mobile Settings
Change-Id: I9145f666c5f8fd9595bcc047160fd6da17b3091d
2024-05-24 12:14:01 +08:00
Matías Hernández
1dc5bf026b Merge "Refactor preference controllers to receive and mutate ZenMode/ZenPolicy" into main 2024-05-24 00:01:46 +00:00
Xin Li
f0e00b8bf7 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I96574a79eba581db95d387f0d9c9fde2e004c41c
Change-Id: Ib9f2c742f8aa72651ef9eca80a716dd94b9041ea
2024-05-23 14:12:07 -07:00
Matías Hernández
43d67b0080 Refactor preference controllers to receive and mutate ZenMode/ZenPolicy
Also fixed a handful of style issues / warnings along the way.

Fixes: 341950853
Fixes: 341910620
Test: atest com.android.settings.notification.modes
Flag: android.app.modes_ui
Change-Id: I65900941fcdf53824caf052fd0a24401c1bfb476
2024-05-23 20:29:06 +00:00
Guojing Yuan
dc2e0e227a [CDM] Catch IllegalArgumentException when association is not found
Fix: 338005013

Test: manual
Change-Id: Ib83b85602cb44f7d82dcbf8966a8e3f842e8ceec
2024-05-23 19:22:10 +00:00
SongFerng Wang
a848c57633 Merge "Remove the java doc" into main 2024-05-23 19:21:05 +00:00
SongFerng Wang
392fb96dfc Merge "Add the Primary IMEI" into main 2024-05-23 19:20:32 +00:00
Amith Yamasani
5953a3386c Merge "Add a source parameter for resrictions logging" into main 2024-05-23 18:54:49 +00:00
Joshua Mccloskey
dd88792a5b Merge "UDFPS Enrollment Refactor (6/N)" into main 2024-05-23 18:26:10 +00:00
Chaohui Wang
51dc721031 Merge "Refresh DataUsageSummaryPreferenceController" into main 2024-05-23 16:22:03 +00:00
YK Hung
faeb033afc Revert^2 "Add a11y focus on battery chart a11y node."
This reverts commit 25ef484675.

Reason for revert: I don't think the UI update will impact the codec test in b/342336993, which should be the false alarm. The codec test even not relative to the accessibility function.

Change-Id: I4c2e00667f229d8df8664e8cef5bee06f4468fdc
2024-05-23 14:35:06 +00:00