Commit Graph

138655 Commits

Author SHA1 Message Date
Hakjun Choi
4b80409474 Merge "Add Satellite Messaging activity" into main 2024-01-24 01:31:30 +00:00
Chaohui Wang
c909b37221 Merge "Make MoreOptionsScope abstract class" into main 2024-01-23 23:31:28 +00:00
Joseph Vincent
cd5bf1da51 Merge "Remove private space biometrics on switching to device lock" into main 2024-01-23 23:08:05 +00:00
Joseph Vincent
2fcd4b480d Merge "Add skip button in PS account login error screen" into main 2024-01-23 23:06:32 +00:00
Aman Gupta
a28a777f15 Merge "Updating strings as per the suggestion in b/318837875." into main 2024-01-23 22:00:03 +00:00
Ling Ma
b6e28eeda5 Merge "Wrap subManager creation with createForAllProfiles" into main 2024-01-23 18:03:11 +00:00
Anubhav Kakkar
1a2774e3d8 Add trunk flag check to prevent changing the special app access settings for 'Change media output' for direct intent based entry when trunk flag is not enabled.
Bug: 321905521
Test: Ensure trunk flag is disabled > Open app specific settings for 'Change media output' > Ensure that settings should not be changeable
Change-Id: Iedfd82d97eb49fc65c56d332bde815ff41e24736
2024-01-23 16:43:16 +00:00
Treehugger Robot
00f4225c2c Merge "Update ShadowStorageManager" into main 2024-01-23 16:23:31 +00:00
josephpv
ec273aca12 Remove private space biometrics on switching to device lock
Bug: 320685466
Test: Verified manually
Change-Id: I5fe850ada9ae53bb1a00ed171beb6f8e099fbc0d
2024-01-23 15:24:55 +00:00
Julia Reynolds
fb92580cab Merge "Add 'app notifications' to settings search" into main 2024-01-23 14:49:52 +00:00
Pajace Chen
c10be7c186 Merge "Update string for incompatible charging" into main 2024-01-23 14:14:18 +00:00
Chaohui Wang
97d36b771a Make MoreOptionsScope abstract class
Bug: 321724969
Test: m Settings
Test: unit test
Change-Id: Iced9df83f600c86cc409abc040fb9ace0dcedf1e
2024-01-23 13:59:45 +00:00
josephpv
f27e9e6553 Add skip button in PS account login error screen
Recording link : b/320460786#comment5

Bug: 320460786
Test: Verified skip button in shown in error screen.
Change-Id: I0b3b9258ad55069c9920d7fc9fb7f17d422297f1
2024-01-23 13:20:34 +00:00
Pajace Chen
b42074b6ae Merge "Delete DockDefenderTip and Detector" into main 2024-01-23 11:26:11 +00:00
Ze Li
41b12fe8eb [Connected devices page] Reorder devices by most recently used.
Order the saved bluetooth devices by most recently connected in connected devices settings page.

Test: atest: com.android.settings.connecteddevice.SavedDeviceGroupControllerTest, com.android.settings.connecteddevice.PreviouslyConnectedDevicePreferenceControllerTest
Bug: 306160434
Change-Id: Id5ad8555a026d775d96ada37f989b4346336af93
2024-01-23 08:14:29 +00:00
Treehugger Robot
b35f828bfa Merge "Try to fix event_id missing by changing battery anomaly tips card metrics log method." into main 2024-01-23 08:02:33 +00:00
Treehugger Robot
9df98ee6b3 Merge "Migrate battery optimization mode app list to SPA." into main 2024-01-23 07:53:52 +00:00
Hakjun Choi
2f57f53831 Add Satellite Messaging activity
Add satellite messaging activity into Settings for carrier satellite
service

Bug: 319035517
Test: manual
1. Set CarrierConfig Key KEY_SATELLITE_ATTACH_SUPPORTED_BOOL as false then verify satellite messaging menu is not shwon from
   Settings > Network & internet > SIMs > test sim
2. Set CarrierConfig key KEY_SATELLITE_ATTACH_SUPPORTED_BOOL as true
3. Insert test SIM
3. Get into to Settings > Network & internet > SIMs > test sim > verify Satellite messaging is shown
4. Verify whether descriptions are as directed. icons are as directed.
5. Add satellite messaging does not work when click
6. Invoke web browser with test website when click 'More about satellite messaging'
7. Replace SIM of which MCC/MNC is not test sim
8. verify no action happen when click 'More about satellite messaging'

Change-Id: Iee8fad58b41cbca34f373d2a9df1d074c447cfb1
2024-01-23 07:49:00 +00:00
pajacechen
98a522c45c Delete DockDefenderTip and Detector
- remove dock defender
- remove unused string

Test: atest SettingsRoboTests
Bug: 315748218
Flag: NA
Change-Id: Ida4bb1d36a653d1787595212aac167d2f4dd3438
2024-01-23 15:26:53 +08:00
Charlotte Lu
ccac2b9a94 Merge "apn insert exception for duplicate apn entry" into main 2024-01-23 07:20:07 +00:00
Zaiyue Xue
dbe4a08c51 Try to fix event_id missing by changing battery anomaly tips card metrics log method.
Bug: 321866714
Fix: 321866714
Test: presubmit
Change-Id: I56073913227af120033bec7f3ef983432459ba9a
2024-01-23 15:01:51 +08:00
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
Charlotte Lu
27a8deeb4a Modify the format of the wep warning dialog
Test: Visual Test
Fix: 321855606
Change-Id: I1156f3305685f2253752a7a1d99b16d3eede55f9
2024-01-23 12:59:23 +08:00
Weng Su
3d34250209 Merge "Fix Wi-Fi anonymous ID UI issue" into main 2024-01-23 04:13:12 +00:00
pajacechen
846be63c9c Update string for incompatible charging
Update string and icon for incompatibe charger settings banner tip

Dark theme: https://screenshot.googleplex.com/6fpK5z6PQ6yGnNU.png
Light theme: https://screenshot.googleplex.com/ASWf6CzF2f9Qfg8.png
Figma design: https://screenshot.googleplex.com/7yBoAW7jHxhHsEg.png

Bug: 315748218
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batterytip.tips.IncompatibleChargerTipTest
Change-Id: I10498aaf820ab1c2123d80051f09b2f11560f33a
2024-01-23 01:40:47 +00:00
Treehugger Robot
d9e66ea97b Merge "Wrap subManager creation with createForAllProfiles" into main 2024-01-22 22:45:24 +00:00
Weng Su
dd1947c078 Fix Wi-Fi anonymous ID UI issue
- Do not reset the anonymous default ID after retrieving the previous value from WifiConfiguration.

Fix: 267517525
Flag: None
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiConfigController2Test

Change-Id: Ic10d6953f6657836e18eab6884df2af0f35a20c4
2024-01-23 06:44:46 +08:00
Ling Ma
ae8b9b5fe2 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: I88e29b445a11f36e1a3db80368bb9e46ef06eac3
2024-01-22 22:14:08 +00:00
Ling Ma
63f74b8567 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: I7dfb324d7e08fc4c845c44cd93e6ddf7d0368c1f
2024-01-22 22:02:00 +00:00
Vaibhav Devmurari
bd26b3a43e Add Slow keys A11Y settings to PK settings page
Test: manual
Bug: 294546335
Change-Id: I9e20973e648d04b907e4d2225bd49b78e42d2089
2024-01-22 21:52:48 +00:00
Yuri Lin
c36baa0e8d Merge "Settings changes for changing default for zen policy." into main 2024-01-22 21:12:46 +00:00
Treehugger Robot
b4e65e6e71 Merge "Fix ProfileSelectDialogTest" into main 2024-01-22 15:59:11 +00:00
Joseph Vincent
43e89fdfca Merge "Add check to verify if separate lock is setup for private space." into main 2024-01-22 11:47:35 +00:00
Yiyi Shen
92930341c4 Merge "[Audiosharing] Use LE audio profile as fallback to get group id." into main 2024-01-22 11:46:19 +00:00
josephpv
a05b33b661 Add check to verify if separate lock is setup for private space.
With this change on selecting new lock option for private space it is
taken care to handle back/swipe left action to show the lock setup
screen again if a separate lock is not setup for private profile.

Bug: 307281644
Bug: 313142822
Test: Manual
Change-Id: I8f31b7f69307c0c6947cb0f6c52cb3560e69a156
2024-01-22 10:25:09 +00:00
Haijie Hong
a8ea8e0ed7 Merge "Add bluetooth profile toggle visibility checker" into main 2024-01-22 10:20:59 +00:00
Haijie Hong
82688cc1d3 Add bluetooth profile toggle visibility checker
Bug: 321178209
Test: atest BluetoothDetailsProfilesControllerTest
Change-Id: Ic6c040a5a500d51945893061623526271eba94c7
2024-01-22 17:32:09 +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
Yiyi Shen
b3331f3ea4 [Audiosharing] Use LE audio profile as fallback to get group id.
For non-CSIP LE audio device, use LE audio profile to get group id.

Also, did some refinement in this change.
1. Add more log
2. Use context#getMainExecutor instead, since postOnMainThread is
   deprecated.

Test: manual
Bug: 305620450
Bug: 319723439
Change-Id: I8056b2e7b6ab37915a518ad2290a0a7fb7671c18
2024-01-22 16:42:33 +08: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
Fan Wu
82d3e10530 Fix ProfileSelectDialogTest
Bug: 313569889

Test: atest
Change-Id: I7ac99c5c0021866aea3902f5d9377782633e6856
2024-01-22 16:21:50 +08: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
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