Commit Graph

138799 Commits

Author SHA1 Message Date
chelseahao
5d0bd7555d [Audiosharing] Handle sync, add source via qrcode.
Bug: 305620450
Test: manual
Change-Id: I32c14607035d8f37f44186175657c42307780e7b
2024-01-15 10:27:25 +00:00
Treehugger Robot
f1c141906a Merge "Update the setOverrideDeadline in the legacy AnomalyDetectionJobService" into main 2024-01-15 10:05:03 +00:00
ykhung
22273161fd Update the setOverrideDeadline in the legacy AnomalyDetectionJobService
Update the setOverrideDeadline based on the suggestion in the b/319721625, and remove the legacy anomaly detection mechanism from the main entry BroadcastReceiver

Fix: 319721625
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge.batterytip"
Change-Id: I1276bfc95d9cf36a60e28612ebb8a295fd58083b
2024-01-15 09:23:18 +00:00
Fan Wu
4d005993f6 Update ShadowParcel to extend from org.robolectric library
Bug: 319052511

Test: atest SettingsRoboTest:com.android.settings.development
Change-Id: I751df93cfc9970279e9fd9872f988dff58f989d6
2024-01-15 16:58:19 +08:00
Yiyi Shen
d80dbba739 Merge "[Audiosharing] Support play test sound" into main 2024-01-15 08:56:08 +00:00
Charlotte Lu
89b966fff5 Merge "When apn is read only, hide the save button." into main 2024-01-15 08:54:51 +00:00
Chaohui Wang
9a6a0865de Catch IllegalStateException when get carrier config
Fix: 319149441
Test: manual - on System Update page
Test: unit test
Change-Id: I484a036b2ce086531b20e1a5ca7e541934bc4c07
2024-01-15 16:52:06 +08:00
Charlotte Lu
f8bc0841bc When apn is read only, hide the save button.
Test: Visual Test
Fix: 320200491
Change-Id: I8280fdaa3643a982137936473d827b8502a6e023
2024-01-15 15:39:49 +08:00
Hyunho Shin
4130a95c5d Merge "Add the condtions to show the pSIM conversion menu" into main 2024-01-15 05:12:40 +00:00
Fan Wu
f08c87d002 Fix LinkifySummaryPreferenceTest
The spy annotation will trigger the non-existing API.

Bug: 313563183

Test: atest SettingsRoboTests:com.android.settings.widget
Change-Id: Iec4448b45e5408846962dc49c65ccc64feb5d2ad
2024-01-15 03:12:25 +00:00
Treehugger Robot
f81b9cd75a Merge "Fix text color contrast issue on Caption size and style screen" into main 2024-01-13 05:13:20 +00:00
Hyunho
3d2c417236 Add the condtions to show the pSIM conversion menu
if the value of carrier config and current SIM's carrier is matched, then the pSIM conversion menu will show

Bug: b/319527964
Test: manual test (b/319527964#comment3)
Change-Id: I82025447f43c0151ba58edd77c6f8b7e8aff660d
2024-01-13 03:48:07 +00:00
Chun-Ku Lin
0552c18287 Fix text color contrast issue on Caption size and style screen
Use the same textAppearance as the one defined in
preset_picker_item.xml, which is used by the Edge type dialog on the
same screen and doesn't have text color contrast issue.

Bug: 319742556
Flag: EXEMPT (simple bug fix)
Test: Manually by using Accessibility Scanner

Change-Id: If078ce1daf8ba0b3cb6ffef860ff39e995d7446a
2024-01-12 23:32:52 +00:00
Hakjun Choi
6a29eb7b15 Merge "Filter out satellite plmn when in SAT mode" into main 2024-01-12 22:11:48 +00:00
Pawan Wagh
2d284d98bb Merge changes from topic "16k_dev_ui" into main am: 052a1658e4 am: 7b96c4e57b am: 2d70fb39af
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2775987

Change-Id: I003f73b3e398f536e6afaaf93e2adb9da11fa7ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 21:34:02 +00:00
Pawan Wagh
7516944287 Show progress bar till the applyPayload returns am: 9be05afc88 am: 0aebae8d79 am: 7dcfe67cae
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2766345

Change-Id: I4433a73f30d21629558b18716e7972acc4e46d5a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 21:33:55 +00:00
Pawan Wagh
8a1cebc72a Call update engine to apply payload am: 008842edeb am: d2110a76a7 am: ba35fbc238
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2756951

Change-Id: I4efedc488fdf5f73ead41781ebf3d4eb33f0b78b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 21:33:49 +00:00
Pawan Wagh
7e2249a7dd Developer option for booting with 16K pages am: 8996ca9768 am: acd2de2533 am: 8e5eff37a9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2705817

Change-Id: Icaca8a91a01be73cdda9d61e2a2fbb6c82534a47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 21:33:41 +00:00
Bill Yi
8ed3172ea5 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: acdbb25cd7 -s ours am: aa1f04042b -s ours
am skip reason: contains skip directive

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

Change-Id: Ic4989b70be4924c251e6670e13457cbeab1758a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 21:25:48 +00:00
Pawan Wagh
2d70fb39af Merge changes from topic "16k_dev_ui" into main am: 052a1658e4 am: 7b96c4e57b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2775987

Change-Id: I0dd9f6b90752512b0b74a9d2222d188665fb1e4f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 21:25:10 +00:00
Pawan Wagh
7dcfe67cae Show progress bar till the applyPayload returns am: 9be05afc88 am: 0aebae8d79
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2766345

Change-Id: Ibaf92a15e52ad5e7f1834210196c94d521ad90d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 21:25:06 +00:00
Pawan Wagh
ba35fbc238 Call update engine to apply payload am: 008842edeb am: d2110a76a7
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2756951

Change-Id: I2e0013a3f62fa945005f6ceaf2ff3ca184c2ba8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 21:25:02 +00:00
Pawan Wagh
8e5eff37a9 Developer option for booting with 16K pages am: 8996ca9768 am: acd2de2533
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2705817

Change-Id: I8882b9feb7b34567de5f8a65d8932dac42446529
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 21:24:56 +00:00
Bill Yi
e84b7a4306 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 9a5a8054b8 -s ours
am skip reason: contains skip directive

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

Change-Id: I3ecccec7f15bf0dffbac919f1b2d76b0b0cc62bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 20:23:00 +00:00
Treehugger Robot
50e4741b60 Merge "Add auto lock preference inside private space settings" into main 2024-01-12 20:17:59 +00:00
Bill Yi
aa1f04042b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: acdbb25cd7 -s ours
am skip reason: contains skip directive

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

Change-Id: Iabc4018006534088dafb0c09a955f5226cb39e29
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 20:12:51 +00:00
Bill Yi
4df36e6583 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-01-12 20:12:50 +00:00
Pawan Wagh
7b96c4e57b Merge changes from topic "16k_dev_ui" into main am: 052a1658e4
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2775987

Change-Id: I2d074f6bd19c6957659b018af8736c076b95047b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 19:51:17 +00:00
Pawan Wagh
0aebae8d79 Show progress bar till the applyPayload returns am: 9be05afc88
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2766345

Change-Id: I713b313d751c063cea3835c7396859f40a61645d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 19:51:13 +00:00
Pawan Wagh
d2110a76a7 Call update engine to apply payload am: 008842edeb
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2756951

Change-Id: I21c7ec553c2a9276df3f9b352ad3f106f816a3bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 19:51:09 +00:00
Pawan Wagh
acd2de2533 Developer option for booting with 16K pages am: 8996ca9768
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2705817

Change-Id: I28136f884536a8bbf5aa10cd04ab597595e9f223
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 19:51:02 +00:00
Pawan Wagh
052a1658e4 Merge changes from topic "16k_dev_ui" into main
* changes:
  Publish update info via SystemUpdateManager
  Show progress bar till the applyPayload returns
  Call update engine to apply payload
  Developer option for booting with 16K pages
2024-01-12 19:42:36 +00:00
josephpv
099ae32943 Add auto lock preference inside private space settings
This includes below changes
- Adds perference for Auto Lock settings inside private space settings page.
- Feaure is behind flag
android.multiuser.support_autolock_for_private_space

Screenshots:
go/ss/ZCaYGWMDdH8bQNz.png
go/ss/AxnD8DviiT5hhkW.png
go/ss/9TMYmacyiVhyexB.png
go/ss/6SzhkGfTbDYVUVE.png

Bug: 312893140
Test: atest AutoLockPreferenceControllerTest, atest AutoLockPreferenceControllerTest

Change-Id: I95beb9d71c709002e17307e612c60b2f5087290b
2024-01-12 19:12:30 +00:00
josephpv
1741f5355a In Private space settings when no face support show only fingerprint unlock
This contains fix for PS biometrics issue in Pixel devices without
face hardware support.

In private space separate lock settings page
- without face support only fingerprint unlock controller is shown
- with face support controller for both face and fingerprint is shown.

Screenshot:
-Without Face support
go/ss/qhDqdyqYLCTYaJq.png
go/ss/4Jw54XKJPNYm4R6.png
go/ss/5LPjRQ76cVPZy7j.png

-if without Fingerprint
go/ss/ACGqKU7j24G3Q9Q.png

-With Face support
go/ss/7jV385WCFsXajZM.png
go/ss/ZrGTdiYUN5MFY3r.png
go/ss/6QNKqaFuZvuMJZ9.png
go/ss/9ZcSvXULHuPK2ps.png
go/ss/7GfABcYE4h8BkCo.png

Bug: 319794904
Test: Manual
Change-Id: I053e8584d036ca0d6e3d8157d0fdef6d465492aa
2024-01-12 19:10:46 +00:00
Edward Savage-Jones
49a60a152a Prevent the disabling of specified apps
Prevent the disabling of specified apps, avoiding cases
where disabling the app may result in an unusable system.

Bug: 200043113
Test: make RunSettingsRoboTests ROBOTEST_FILTER=ApplicationFeatureProviderImplTest

Change-Id: I0b298af76cec20e4f31ec7411bbf3200a2869035
Merged-In: I0b298af76cec20e4f31ec7411bbf3200a2869035
2024-01-12 18:55:41 +00:00
Chris Antol
5245ebfd4a Merge "Prevent the disabling of specified apps" into main 2024-01-12 18:54:58 +00:00
Pawan Wagh
905b78e4a5 Publish update info via SystemUpdateManager
When 16K OTA is applied, this info would need to be published
to a SystemUpdateManager so that we don't clobber the updates with
other pending updates. Similarly, Fetch the pending update info from
SystemUpdateManager before applying update.

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 302391134
Bug: 295035851
Change-Id: I4998122942d7f2defd69bc34474230c8aea3c25a
2024-01-12 17:33:56 +00:00
Becca Hughes
42bcdcfdfd Merge "Make provider icon sizes consistent" into main 2024-01-12 17:23:03 +00:00
Pawan Wagh
9be05afc88 Show progress bar till the applyPayload returns
Displaying a progress bar till the applyPayload from update_engine
returns.

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 295035851
Bug: 298214075
Change-Id: Ic8cf4df700505e7f10185ee0f08225411c6621e5
2024-01-12 17:14:03 +00:00
Pawan Wagh
008842edeb Call update engine to apply payload
Calling update engine to apply payload provided from boot_otas and
reboot on success. Updating different dialogues for 4k prompt.

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Test: make RunSettingsRoboTests ROBOTEST_FILTER=Enable16kPagesPreferenceControllerTest
Bug: 295573133
Change-Id: Iab90a2c2fae5f6aefce95b2306db91c7b056d9f7
2024-01-12 17:13:31 +00:00
Pawan Wagh
8996ca9768 Developer option for booting with 16K pages
Adding developer option to boot with 16K compatible kernel. Adding
resources, layouts and dialog classes for 16k option. This needs
to integrated with update engine to make OTA switch happen.

Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 295035851
Bug: 294614538
Change-Id: I3a24fed059eee99407e3486a7254285e0e4a251c
2024-01-12 16:51:16 +00:00
Becca Hughes
7dca691308 Make provider icon sizes consistent
Fixes an issue where the icons under "additional providers"
are not the same size. Also, fixes the unit tests for
CredentialManagerPreferenceController.

https://hsv.googleplex.com/4797855484084224

Test: unit tests and manual on device tests
Bug: 278772478
Change-Id: I88d8694189a7529ccc2d92bf1b74bb5bf2268f46
2024-01-12 16:19:47 +00:00
Fan Wu
6f20548c55 Merge "Remove unnecessary custom shadow of android.system.Os" into main 2024-01-12 10:48:14 +00:00
Nikhil Kumar
87f5264823 Merge "Toast warning message when non-admin user tries to open dev options." into main 2024-01-12 10:43:32 +00:00
Edgar Wang
07ea6d6e21 Merge "Update Personal dictionary layout to fix A11y issue" into main 2024-01-12 10:23:46 +00:00
Mark Kim
f47bc45a3b Merge "Show restoring toast message only after Play Store responded successfully" into main 2024-01-12 09:00:46 +00:00
Yiyi Shen
4af5178f57 [Audiosharing] Support play test sound
Test: manual
Bug: 305620450
Change-Id: Id3f3b99f94a8a91d76fb9442310789b87c39bca0
2024-01-12 16:54:18 +08:00
Fan Wu
23d57e8c8a Remove unnecessary custom shadow of android.system.Os
Bug: 319052511

Test: atest SettingsRoboTests
Change-Id: Ie551e6f3b3884a505f60acc5874b439010d43533
2024-01-12 07:52:21 +00:00
Yiyi Shen
10fa20446c Merge "[Audiosharing] Update the volume control registration flow." into main 2024-01-12 07:47:54 +00:00
SongFerng Wang
45ea69c925 Merge "Add the String of dual sim onboarding" into main 2024-01-12 07:01:50 +00:00