Commit Graph

52676 Commits

Author SHA1 Message Date
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
Charlotte Lu
1c9921a264 apn insert exception for duplicate apn entry
Test: Visual Test
Fix: 321619947
Change-Id: I362cd0c5dec7b8fab9af081f67717c4633064cdd
2024-01-22 06:38:57 +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
Chun-Ku Lin
c2d7daf645 Replace ShortcutType with UserShortcutType to reduce duplicate
declaration.

Bug: 317424693
Test: atest
Flag: N/A. Not able to flag the refactor
Change-Id: I20aea442cb08f047f98422176058acf4b344d2f1
2024-01-20 05:40:52 +00:00
Ling Ma
9c3ad34d6e Wrap subManager creation with createForAllProfiles
Since U, a sub can be associated with a particular profile, and thus in V we enforce filtering on the caller and only show the subs that are associated with the caller.
However, in some cases the caller indeed needs to see all subs regardless of its association, e.g. sysUI. Therefore, a param isForAllProfile is added to indicate whether the caller intends to see all subs.

Bug: 296076674
Test: voice call + data browsing
Flag: ACONFIG com.android.internal.telephony.flags.enforce_subscription_user_filter
 DEVELOPMENT
Change-Id: Ib5ccc841029a32ae9cf25d7a65b156e363d6b139
2024-01-20 05:28:14 +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
Becca Hughes
87117b0183 Merge "Add buttons for new settings design" into main 2024-01-19 22:05:14 +00:00
Ling Ma
3c633b0ec5 Wrap subManager creation with createForAllProfiles
Since U, a sub can be associated with a particular profile, and thus in V we enforce filtering on the caller and only show the subs that are associated with the caller.
However, in some cases the caller indeed needs to see all subs regardless of its association, e.g. sysUI. Therefore, a param isForAllProfile is added to indicate whether the caller intends to see all subs.

Bug: 296076674
Test: voice call + data browsing
Flag: ACONFIG com.android.internal.telephony.flags.enforce_subscription_user_filter
 DEVELOPMENT
Change-Id: I2980cb3a63ac296568d76c224987bff8a97fe2b2
2024-01-19 20:08:10 +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
Hao Dong
5a16a076f3 Merge "Show generic ChooseLockPattern title for suw." into main 2024-01-19 19:08:50 +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
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
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
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
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
Anna Bauza
ac717e4dc2 Avatar sync functionality
Send information to avatar sync service that user selected confirm or cancel on edit user info dialog

Bug: 320656026
Test: manual
Change-Id: I84356b844d47ea7c07f662691f1e48eaca56b7d8
2024-01-18 08:01:44 +00: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
Charlotte Lu
e0f6540fd1 Adjusting the apn action items
Test: Visual Test
Fix: 320617647
Change-Id: If3fddab5b45140b2c66a3487c08b421a1bd3b78a
2024-01-18 13:04:06 +08:00
Charlotte Lu
1eb4bc0c5f Merge "Duplicate apn entry" into main 2024-01-18 04:00:58 +00:00
Haijie Hong
27be66f48b Merge "Add BT extra options in device details page" into main 2024-01-17 12:48:24 +00:00
Joseph Vincent
ca9016a8be Merge "Show private space unlocked toast when PS is unlocked from Settings" into main 2024-01-17 12:42:00 +00:00
Haijie Hong
76d8145f15 Add BT extra options in device details page
Bug: 319562236
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothDetailsExtraOptionsControllerTest
Change-Id: Ifab39d2bd19044d60f090f4a0419d1e20b2ad925
2024-01-17 19:02:20 +08:00
Johannes Gallmann
d28730e07a Merge "Change predictive back system animations flag to runtime flag" into main 2024-01-17 10:55:24 +00:00
josephpv
4d6e11ce4b Show private space unlocked toast when PS is unlocked from Settings
This contains the change to show private space unlocked toast message
when PS is unlocked from private space settings entry point.
Also has change in the pending intent passed to requestQuietModeEnabled
API to allow BAL of PS settings page as suggested in go/debug-bal

Recording is uploaded to the issue b/317313482

Bug: 317313482
Test: Manually verified Toast is shown on PS unlock from settings

Change-Id: I2f03b7decdad2bb9e1018012ff5986e48305a4e7
2024-01-17 10:26:33 +00:00
YK Hung
87e9f512d2 Merge "Set Switch Preference disabled when app battery optmization mode is immutabled." into main 2024-01-17 10:17:24 +00:00
Joseph Vincent
bd3e3a174f Merge "In Private space settings when no face support show only fingerprint unlock" into main 2024-01-17 10:02:05 +00:00
Faye Yan
602749494d Merge "Add the second toggle for the egress data permission on voice activation apps toggle page." into main 2024-01-17 10:01:14 +00:00
SongFerng Wang
7e2fc39678 Merge "Remove the phone number at Rename page" into main 2024-01-17 09:08:49 +00:00
Charlotte Lu
031aa3417d Duplicate apn entry
Test: Visual Test
Fix: 319194851
Change-Id: I491655bb80a17cc9fc99d47f1e1ac5824eb11921
2024-01-17 15:58:24 +08:00
fayey
a0f67e8591 Add the second toggle for the egress data permission on voice activation
apps toggle page.

Bug: 309677007
Test: presubmit
Change-Id: I219f67bd55d3a38b6e026698ce4cbf24c6fbe503
2024-01-17 07:17:47 +00:00
SongFerngWang
4366ceea15 Remove the phone number at Rename page
Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: Build pass
Change-Id: I6e77f2a8858e17e3e56c01769e6eb5b4fd478a04
2024-01-17 15:11:55 +08:00
Yiyi Shen
ce27ff1efa Merge "[Audiosharing] Add toggle to improve sharing compatibility." into main 2024-01-17 06:47:17 +00:00
mxyyiyi
ac1aa99591 Set Switch Preference disabled when app battery optmization mode is immutabled.
Bug: 320600016
Test: manual
Change-Id: I7ebd604c64a0618f94c0b5e6fcf398a661657125
2024-01-17 14:32:40 +08:00