Commit Graph

140628 Commits

Author SHA1 Message Date
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
ELIYAZ MOMIN
0105630119 Merge "Revert "Add a11y focus on battery chart a11y node."" into main 2024-05-23 14:08:29 +00:00
Julia Reynolds
11b10202fe Merge "Add display and notif vis effects to new modes ui" into main 2024-05-23 13:32:56 +00:00
ELIYAZ MOMIN
25ef484675 Revert "Add a11y focus on battery chart a11y node."
This reverts commit 1d134d6665.

Reason for revert: <Potential culprit for b/342336993  - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>

Change-Id: Ifa208bbc77fc4f49b6465fd68d9a18e31d1d3254
2024-05-23 13:04:08 +00:00
songferngwang
15991cc948 Remove the java doc
Bug: 331222033
Test: build pass
Change-Id: I0953dbaf68eb78ff665cf4b46c65bcc4967a60a8
2024-05-23 12:40:22 +00:00
songferngwang
f42ec74abf Add the Primary IMEI
As per GSMA specification TS37, below Primary IMEI requirements are mandatory to support

-TS37_2.2_REQ_5
-TS37_2.2_REQ_8 (Attached the document has description about this test cases)
Bug: 341006304
Test: atest MobileNetworkImeiPreferenceControllerTest

Change-Id: I839440de7d2680d21832dce6d0d56db992796fca
2024-05-23 09:12:06 +00:00
Chaohui Wang
513ca3a808 Refresh DataUsageSummaryPreferenceController
When re-enter the page contains it.

Fix: 341234382
Test: manual - on Data usage
Test: unit test
Change-Id: Ib6a4624e11b60d703c35cea07232cc24f1516389
2024-05-23 16:50:54 +08:00
Chelsea Hao
1302513608 Merge "Use broadcast name instead of program info." into main 2024-05-23 08:08:04 +00:00
Pawan Wagh
3e0b741d11 Merge "Fix strings for dev options" into main am: cfb1ffb5d3 am: 418897702e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3097858

Change-Id: I9e181e041757d6c5e21fe214e1ba12ebc553d4c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-23 07:28:44 +00:00
Haijie Hong
8c3a9405be Merge "Add logging for SlicePreferenceController" into main 2024-05-23 07:26:23 +00:00
Pawan Wagh
418897702e Merge "Fix strings for dev options" into main am: cfb1ffb5d3
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3097858

Change-Id: Ib93c2a0fad9f002212d93cda296be61fb297305a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-23 07:13:05 +00:00
YK Hung
ef0130c12d Merge "Add a11y focus on battery chart a11y node." into main 2024-05-23 06:46:25 +00:00
Pawan Wagh
cfb1ffb5d3 Merge "Fix strings for dev options" into main 2024-05-23 06:45:37 +00:00