Commit Graph

140533 Commits

Author SHA1 Message Date
Chun-Ku Lin
774bbc1ff2 Reduce the number of calls to updateAllPreferences
We call updateAllPreferences in onCreate and onResume. If we always call
the method in onResume, the call in onCreate seemed redundant.

Bug: 327052480
Flag: EXEMPT low risk bugfix
Test: manual (able to see the accessibility screen as before)
Test: atest com.android.settings.accessibility
Change-Id: I40b44ed6b667f7b1375ec0e339fc2b28a3f70dc5
2024-05-29 03:15:15 +00:00
Treehugger Robot
f91bd7ba24 Merge "Extend SfpsEnrollmentFeature for text updating when progress changes" into main 2024-05-27 15:38:22 +00:00
Chaohui Wang
a54a9756c0 Merge "Setup backup calling for new UI" into main 2024-05-27 09:03:01 +00:00
Chaohui Wang
49feaed3b7 Merge "Sort in slot selectable subscriptions first" into main 2024-05-27 09:02:40 +00:00
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
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
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
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
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
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
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