Commit Graph

138056 Commits

Author SHA1 Message Date
mxyyiyi
8dccd6947f Migrate battery optimization mode app list to SPA.
Bug: 284033422
Bug: 304923046
Test: manual
Change-Id: I7549b8a95508500bce098b42da04036869431060
2024-01-23 14:54:20 +08:00
Haijie Hong
55fc646388 Merge "Add talkback and fix touch area of phonebook sharing toggle" into main 2024-01-22 08:48:31 +00:00
SongFerng Wang
4601261f81 Merge "Add the UI of dual sim onboarding" into main 2024-01-22 08:40:49 +00:00
Charlotte Lu
e5aff32142 Merge "Change apn type into ExposedDropdownMenuCheckBox" into main 2024-01-22 08:39:59 +00:00
SongFerngWang
4713fd6baa Add the UI of dual sim onboarding
This is the first version.

Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: Build pass
atest SimOnboardingLabelSimTest
atest SimOnboardingPageProviderTest
atest SimOnboardingPrimarySimTest
atest SimOnboardingSelectSimTest

Change-Id: I195bd6b03ab0e881fdd67272c2476ef2b1fcd3ed
2024-01-22 07:47:51 +00:00
chelseahao
9213529cc1 [Audiosharing] Create confirmation to join audio.
Bug: 305620450
Test: manual
Change-Id: I7bb8ed290808115cb76b59f3bfdc52f09806034d
2024-01-22 07:11:20 +00:00
Haijie Hong
9f5cb5cf0e Add talkback and fix touch area of phonebook sharing toggle
Bug: 318788906
Bug: 318787744
Test: atest BluetoothPairingDialogTest
Change-Id: I168a900cc4a66ae69b300f8fa806e3a612f4f310
2024-01-22 07:08:07 +00:00
Yiyi Shen
a4cf715181 [Audiosharing] Set/get compatibility config by toggle.
Also use startPrivateBroadcast() to start the broadcast with
compatibility config stored in SettingsProvider.

Test: manual
Bug: 305620450
Bug: 292538935
Change-Id: Iff067833fb0668531aa32957b414585751f2bcee
2024-01-22 14:09:48 +08:00
SongFerng Wang
ca0647aa8b Merge "Using the phone number without formate for the unique DisplayName" into main 2024-01-22 03:57:15 +00:00
Treehugger Robot
3d593f35b9 Merge "Add logging to private space settings" into main 2024-01-20 00:13:49 +00:00
Chris Antol
76144abc19 Merge "Hide accounts of users that should not be shown" into main am: 8595d95122 am: e686f52dae
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2898064

Change-Id: Id8633255778586d21ecc6f3fa0a52c7f4f036262
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-19 23:32:08 +00:00
josephpv
6f4dc73c53 Add logging to private space settings
Bug: 317625931
Test: Manual
Change-Id: I01200b54c436d2a60ac07c9facbb5cf35a44d920
2024-01-19 23:11:42 +00:00
Chris Antol
e686f52dae Merge "Hide accounts of users that should not be shown" into main am: 8595d95122
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2898064

Change-Id: I3e0fe00eca5c30127a38a1e7cd36c22ec7666de6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-19 22:52:28 +00:00
Chris Antol
8595d95122 Merge "Hide accounts of users that should not be shown" into main 2024-01-19 22:05:53 +00:00
Becca Hughes
87117b0183 Merge "Add buttons for new settings design" into main 2024-01-19 22:05:14 +00:00
Becca Hughes
782fcb9bd5 Add buttons for new settings design
This adds a new class called PrimaryProviderPreference
which is responsible for laying out the old cog view if
the feature is disabled and the new button view if it
is enabled.

Screenshots:
https://hsv.googleplex.com/5109836204212224
https://hsv.googleplex.com/5574754636398592
https://hsv.googleplex.com/6737135727017984

Change-Id: I1ad0c59a4afc5be3694b499f66bbd7306dfbee69
Test: Manual test with flag on + off & unit tests
Bug: 300979487
2024-01-19 19:42:14 +00:00
Bill Yi
0b36875c3b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 3fd02a8e7e -s ours
am skip reason: contains skip directive

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

Change-Id: I009e3c9723a326708f188065934c408a384278c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-19 19:33:37 +00:00
Hao Dong
5a16a076f3 Merge "Show generic ChooseLockPattern title for suw." into main 2024-01-19 19:08:50 +00:00
Bill Yi
392659f1df Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-01-19 18:49:25 +00:00
Bill Yi
c1019a58a8 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-01-19 18:49:25 +00:00
Oliver Scott
3e2dcefff0 Hide accounts of users that should not be shown
Bug: 318825347
Change-Id: If0f5cae8648e70c0e9c039d9b73cdc5be72b09d3
2024-01-19 18:41:21 +00:00
Bill Yi
46b573af89 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: adf8dd9584 -s ours
am skip reason: contains skip directive

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

Change-Id: Id3b0749d2644e9965b10da22df3acac3be394748
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-19 18:27:00 +00:00
SongFerng Wang
1229c54470 Using the phone number without formate for the unique DisplayName
If the phone number has formate, the getUniqueSubscriptionDisplayNames may have the white space.

Bug: 318022908
Change-Id: I459fb244ec690eff03d565b494b007849ef44c8b
Test: atest SubscriptionUtilTest
2024-01-19 17:52:55 +00:00
Chaohui Wang
6c7dbdd64a Merge "Migrate AppPermissionSummary to flow" into main 2024-01-19 17:39:24 +00:00
YK Hung
b9ee95e41d Merge "Redirect IGNORE_BATTERY_OPTIMIZATION_SETTINGS to new page" into main 2024-01-19 16:30:26 +00:00
Chaohui Wang
5255867976 Migrate AppPermissionSummary to flow
Bug: 321163306
Test: manual - on App Info
Test: unit test
Change-Id: I36f6a479d530fc646a55f68fbaf681b72eff00dd
2024-01-19 15:33:06 +00:00
Mark Kim
420625217c Merge "Add visibility for the user during app restoring" into main 2024-01-19 14:13:33 +00:00
ykhung
3b279e2f74 Redirect IGNORE_BATTERY_OPTIMIZATION_SETTINGS to new page
Redirect the IGNORE_BATTERY_OPTIMIZATION_SETTINGS intent to launch the
new design page in the "Settings > Apps > App battery usage", since the original battery optimization page is deprecated

Fix: 320838302
Test: manual to use: adb shell am start -a android.settings.IGNORE_BATTERY_OPTIMIZATION_SETTING
Change-Id: Iba728b19bb7626c31860c61081efbe0c71fe8739
2024-01-19 08:30:41 +00:00
Charlotte Lu
0f577f7ddd Change apn type into ExposedDropdownMenuCheckBox
Test: Visual Test
Fix: 320891903,320621937
Change-Id: Ia6e4dbbcb568afae04776658a025e30c69e1ddd8
2024-01-19 07:15:13 +00:00
Charlotte Lu
628ebac9e2 Add WEP warning.
Test: Visual Test
Fix: 318797664
Change-Id: Id713ddf2d805b7ce47fe1e620a3273b86cdb3dfe
2024-01-19 04:12:59 +00:00
Chaohui Wang
739f6ff69a Merge "Avoid empty line for storage summary" into main 2024-01-19 03:06:14 +00:00
chelseahao
7bc4ea01d1 [Audiosharing] Impl of two error dialogs.
Bug: 305620450
Test: manual
Change-Id: I5bd4a4b2ab54c382f325c7a6bb4a3029d47786e0
2024-01-19 03:02:48 +00:00
Hao Dong
62fddbf478 Show generic ChooseLockPattern title for suw.
Test: atest SetupChooseLockPatternTest
Bug: 301260673
Change-Id: I7df499015a1f4c0559f425ad47042dd2a459d1df
2024-01-18 23:58:58 +00:00
Bill Yi
adf8dd9584 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I116a1a451f7717639fb76e6f2b66258858f36aca
2024-01-18 11:51:28 -08:00
Bill Yi
571dcd48a3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I94aa81e265c80a7154099c81f1ef21d73088f120
2024-01-18 11:49:41 -08:00
Bill Yi
f3c6267e37 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I249e4d317b1ba0bd9210328b063112cc2ff49b9d
2024-01-18 11:47:27 -08:00
Bill Yi
3fd02a8e7e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1e49e5eb583e5beeaad82b2c53321a840b5d6e0d
2024-01-18 11:46:02 -08:00
Omer Ozer
b34e67228f Merge "Add factory reset wizard test coverage to factory reset preference controller" into main 2024-01-18 18:59:46 +00:00
Mark Kim
fad6a491d0 Merge "Remove flag parameter from requestArchive method" into main 2024-01-18 17:19:15 +00:00
Angela Wang
713bba322f Merge "New hearing device pairing page: fix cannot re-connecting gatt issue" into main 2024-01-18 10:49:09 +00:00
Charlotte Lu
495ab9d09e Merge "Add [ssid] is blocked for wep network" into main 2024-01-18 09:42:13 +00:00
Faye Yan
3405373465 Merge "Fix the op mode dependency for the second toggle: If OP_RECEIVE_SANDBOX_TRIGGER_AUDIO is toggled to deny, OP_RECEIVE_SANDBOXED_DETECTION_TRAINING_DATA is set to deny and toggled." into main 2024-01-18 09:11:01 +00:00
Chaohui Wang
ca0542d2d7 Avoid empty line for storage summary
Bug: 292036686
Test: manual - on All Apps
Test: unit test
Change-Id: Id5069b8172191f3277b825f82407551f6eb4e202
2024-01-18 17:00:07 +08:00
Charlotte Lu
a38b151118 Add [ssid] is blocked for wep network
Test: Visual Test
Fix: 320829123
Change-Id: Ia742e8b3e622c4c44a69daca20ca64edc6f9f826
2024-01-18 16:44:52 +08:00
Charlotte Lu
77615e83d2 Merge "Adjusting the apn action items" into main 2024-01-18 07:38:22 +00:00
Angela Wang
dc297afbe3 New hearing device pairing page: fix cannot re-connecting gatt issue
Should clear the `mConnectingGattList` when the gatts in the list are all disconnected in `OnStop()`. Otherwise, we can't re-connecting gatt for these devices after the page enter `onStart()` again.

Bug: 307890347
Test: manual test
Change-Id: I3b9fe05f894548887339011f5757c71e3a40eb5c
2024-01-18 06:52:59 +00:00
Faye Yan
78f99c6a67 Fix the op mode dependency for the second toggle:
If OP_RECEIVE_SANDBOX_TRIGGER_AUDIO is toggled to deny,
OP_RECEIVE_SANDBOXED_DETECTION_TRAINING_DATA is set to deny and toggled.

If OP_RECEIVE_SANDBOX_TRIGGER_AUDIO is toggled to allow,
OP_RECEIVE_SANDBOXED_DETECTION_TRAINNING_DATA is unchanged.

Bug: 309677007
Test: presubmit
Change-Id: I83bbfdb71ad1aa0e29c55275948ec88fc7f83c6a
2024-01-18 06:44:28 +00:00
Fan Wu
4e4b5f0876 Merge "Update ShadowDevicConfig" into main 2024-01-18 06:08:52 +00:00
Charlotte Lu
e0f6540fd1 Adjusting the apn action items
Test: Visual Test
Fix: 320617647
Change-Id: If3fddab5b45140b2c66a3487c08b421a1bd3b78a
2024-01-18 13:04:06 +08:00
Fan Wu
bda1921829 Update ShadowDevicConfig
Bug: 320820008

Test: atest SettingsRoboTests
Change-Id: I82747557f783930b1e2fe31d0a6c379153e82dd0
2024-01-18 12:32:49 +08:00