Yiyi Shen
769f9ae45e
[Audiosharing] Fix tests when flag is on.
...
Test: atest
Bug: 305620450
Change-Id: I85e8be4aef84a550bd4fe556848f3627b0f29fa6
2024-02-02 16:05:13 +08:00
Yiyi Shen
e96833943a
[Audiosharing] Handle fallback device for calls and alarms.
...
Test: atest
Bug: 305620450
Change-Id: I1c7a49b6aed7d47b7fdbcc6b475b8e99edc52443
2024-02-02 13:32:50 +08:00
SongFerng Wang
5fa73d14ab
Merge "[Sim UI enhancement] remove the "Tap to show info"" into main
2024-01-31 19:53:35 +00:00
SongFerngWang
c6eba747db
[Sim UI enhancement] remove the "Tap to show info"
...
Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: atest PhoneNumberPreferenceControllerTest
atest ImeiInfoPreferenceControllerTest
atest SimEidPreferenceControllerTest
Change-Id: Iadd82173b55b8f66409c1ff056dd4c323d6dcc35
2024-01-31 11:14:38 +00:00
SongFerngWang
8535539582
[Sim UI enhancement] MobileNetworkSettings UI enhancement
...
- Add the phone number
- Add the mobile network(SPN)
- Add the IMEI
- Add the EID
- Remove the mobile data
- Remove the Auto data switch
- Remove the calls and SMS default subscription
Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: atest MobileNetworkEidPreferenceControllerTest
atest MobileNetworkImeiPreferenceControllerTest
atest MobileNetworkPhoneNumberPreferenceControllerTest
atest MobileNetworkSpnPreferenceControllerTest
atest MobileDataPreferenceControllerTest
atest MobileNetworkSettingsTest
Change-Id: Ie2767056dd04d1131390e3a03d6d82d56fe5b2dc
2024-01-31 07:45:28 +00:00
Chun-Ku Lin
ee85a6e0e9
Merge "Move the default shortcut types in a separate utility method." into main
2024-01-29 21:15:53 +00:00
Yiyi Shen
b0ba9959cd
Merge "[Audiosharing] UI refinement." into main
2024-01-29 14:11:38 +00:00
Yiyi Shen
5e8720434b
[Audiosharing] UI refinement.
...
1. Add top summary for Audio sharing page.
2. Move Audio sharing entrance to the second place on Connection
preferences page.
3. Make Audio sharing page searchable.
4. Add On/Off summary to Audio sharing preference on Connection
preference page.
Test: atest
Bug: 305620450
Change-Id: I00019e53563afc0a539934fbdfa949c3401e78b9
2024-01-29 19:03:59 +08:00
Fan Wu
6749a92c7e
Merge "Ignore failing tests in PreviouslyConnectedDevicePreferenceControllerTest" into main
2024-01-29 03:14:22 +00:00
Fan Wu
872c7a0f31
Merge "Fix test failures under com.android.settings.dashboard" into main
2024-01-29 03:13:06 +00:00
Fan Wu
3636aa1d81
Merge "Fix LocationInjectedServicesPreferenceControllerTest" into main
2024-01-29 02:47:16 +00:00
Fan Wu
9b823d8a58
Ignore failing tests in PreviouslyConnectedDevicePreferenceControllerTest
...
Bug: 322712259
Test: atest
Change-Id: Ibeef417fcbdbf2eafea15acdc526de7f91919629
2024-01-29 10:27:47 +08:00
Fan Wu
4dd6e7e982
Fix test failures under com.android.settings.dashboard
...
Bug: 313569889
Test: atest
Change-Id: I44fc992be9a79681d97e573437761e379ecd1a0f
2024-01-29 10:18:12 +08:00
Chun-Ku Lin
1d1b9e451f
Move the default shortcut types in a separate utility method.
...
Bug: 322701168
Test: atest
Flag: N/A (Strict mechanical refactors, no behavior change)
Change-Id: I1beb36e5aeeec0f303228b57baf034a000a72b75
2024-01-29 02:17:49 +00:00
Fan Wu
22540475e9
Fix LocationInjectedServicesPreferenceControllerTest
...
Bug: 313540388
Test: atest
Change-Id: I1e3839f17b52986ab482c068367b3ffac55638c5
2024-01-29 09:55:20 +08:00
Chun-Ku Lin
5a921fffb7
Merge "Save the user preferred shortcut on Edit A11yShortcut screen" into main
2024-01-28 11:17:10 +00:00
Chun-Ku Lin
f9ae13a73d
Save the user preferred shortcut on Edit A11yShortcut screen
...
We saved the user preferred shortcut in the a11y feature's detail page.
Since now the Edit A11yShortcut screen is a standalone screen, we might
want to keep the existing behavior to update the user preferred shortcut
types when the edit screen is shown or when the shortcut settings are
updated.
Bug: 300302098
Test: atest
Test: manual
- Go to an a11y feature page and open the Edit shortcut screen
- Remove all selected shortcut option
- Select volume key shortcut option, and deselect volume key
shortcut option
- Go to home page and close the Settings app
- Go to the same a11y feature page and click on the shortcut toggle
- Expect the volume key shortcut is turned on
Flag: ACONFIG
com.android.settings.accessibility.edit_shortcuts_in_full_screen
TRUNKFOOD
Change-Id: I2c92ec56d6e45317406f3a4b8ef8f076c398df7f
2024-01-28 00:21:31 +00:00
Hakjun Choi
833714434a
Remove unnecessary term 'all' from the API name
...
getAllSatellitePlmnsForCarrier > getSatellitePlmnsForCarrier
The word 'all' is unnecessary here, it's already implied by PLMN being a plural.
Bug: 320462244
Test: atest SatelliteManagerTet, NetworkSelectSettingsTest
Change-Id: Idb6439176be55a787f27f298c211deef6900c7f9
2024-01-27 20:56:41 +00:00
Fan Wu
4fd3d8d4e6
Merge "Fix WifiDialogActivityTest legacy issue" into main
2024-01-27 02:13:44 +00:00
Alice Kuo
8eb26342de
Merge changes I96776484,Ic2ea10d9 into main
...
* changes:
Add BluetoothLeAudioModePreferenceControllerTest
Change the switcher to switch LE audio mode with broadcast
2024-01-26 23:34:28 +00:00
Weng Su
5510f605ce
Fix WifiDialogActivityTest legacy issue
...
- Add @LooperMode(LooperMode.Mode.LEGACY) to fix loop issue.
Bug: 314867581
Flag: None
Test: unit test
atest -c SettingsRoboTests
Change-Id: Ib1676a8502005870e9944fc654801916fe1bb945
2024-01-27 00:09:54 +08:00
Alice Kuo
fdbdc16285
Add BluetoothLeAudioModePreferenceControllerTest
...
Bug: 273153850
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothLeAudioModePreferenceControllerTest
Change-Id: I967764848c953a9156981e121e924d5a18617d2f
2024-01-26 12:25:10 +00:00
Treehugger Robot
5fe4714851
Merge "Restrict WifiDialogActivity" into main
2024-01-26 10:56:00 +00:00
Weng Su
51fa3d798a
Restrict WifiDialogActivity
...
- Don't show WifiDialogActivity if user has DISALLOW_ADD_WIFI_CONFIG
Fix: 299931761
Bug: 314867581
Flag: None
Test: manual test with TestDPC
atest -c SettingsRoboTests:WifiDialogActivityTest
Change-Id: Icbb8f45922ded163208976be9c2816060dcf09f1
2024-01-26 18:01:28 +08:00
Fan Wu
24045ade0c
Merge "Fix ProfileSelectLocationFragmentTest" into main
2024-01-26 01:25:00 +00:00
Yanting Yang
6e3428c75f
Merge "Support dynamic search index for App pinning" into main
2024-01-25 15:01:38 +00:00
Yanting Yang
12b8d82376
Support dynamic search index for App pinning
...
Bug: 243899654
Test: manual & m RunSettingsRoboTests
Change-Id: I5ae5b604894c53e0e816f7a244104321e22c12de
2024-01-25 04:01:07 +00:00
Fan Wu
647c381848
Fix ProfileSelectLocationFragmentTest
...
The test environment is not properly setup
Bug: 313569889
Test: atest
Change-Id: I5424e998cc22bf7bbddff6f69bfc7c4e56ea870c
2024-01-25 10:49:07 +08:00
Treehugger Robot
3fc7f37c21
Merge "Adjust Settings tests to account for MODES_API" into main
2024-01-24 18:48:45 +00:00
Kyle Zhang
65f7a75f28
Merge "Add test ForceL3FallbackPreferenceControllerTest" into main
2024-01-24 18:21:23 +00:00
Matías Hernández
c16384c2aa
Adjust Settings tests to account for MODES_API
...
Fixes: 322166166
Test: atest ZenModeBackendTest ZenModeSliceBuilderTest ZenOnboardingActivityTest
Change-Id: I5bfb2ce842c1b1784c6802638512da23fd21b0c8
2024-01-24 17:53:46 +00:00
SongFerng Wang
391f37f41d
Renew the testcase for using new api setDataEnabledForReason
...
Bug: 318310357
Change-Id: Ia800ab2727747e5f2d979051a3ffd7fe4ce92ed9
Test: test the MobileDataSliceTest
2024-01-24 13:45:58 +00:00
Fan Wu
37d2c195c0
Merge "Fix PanelSlicesAdapterTest" into main
2024-01-24 12:09:47 +00:00
Ze Li
7ef6a7dd4d
Merge "[Connected devices page] Reorder devices by most recently used." into main
2024-01-24 09:02:37 +00:00
Fan Wu
f38d9c8c64
Fix PanelSlicesAdapterTest
...
Slice is final so cannot be mocked or spied on
Bug: 313576125
Test: atest
Change-Id: I14d2268b710d7525676ee4a273826f4cb141b19d
2024-01-24 16:38:30 +08:00
Fan Wu
1bc36c88e9
Merge "Fix PlatformCompatDashboardTest" into main
2024-01-24 08:17:21 +00:00
Fan Wu
105afa4027
Merge "Ignore failing zen mode related tests to bring back green postsubmit" into main
2024-01-24 07:09:59 +00:00
Fan Wu
ea67ae2c51
Fix PlatformCompatDashboardTest
...
Bug: 313591873
Test: atest
Change-Id: Ib972f13ad194b78a32145e3879275125c43e8a3c
2024-01-24 15:00:35 +08:00
Fan Wu
b4318729ca
Ignore failing zen mode related tests to bring back green postsubmit
...
Test: atest
Change-Id: Ibc7116400617b7ff8d34d4f0e767dd7bfc1609b4
2024-01-24 14:43:35 +08:00
SongFerngWang
533e045598
Using new API setDataEnabledForReason for setDataEnabled
...
Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: atest MobileNetworkUtilsTest
Change-Id: I30b56247370ebaa5896bec3205ddce3e5c92c7d0
2024-01-24 04:46:53 +00:00
Fan Wu
96d8953e15
Merge "Updaing ShadowAccountManager to extending from official shadow library" into main
2024-01-24 03:52:17 +00:00
Kyle Zhang
bd942cf0d3
Add test ForceL3FallbackPreferenceControllerTest
...
Bug: 301669353
Test: atest -c ForceL3FallbackPreferenceControllerTest
Change-Id: I182388fa67ac408a2fcf16a6b9599d0971c895d0
2024-01-24 02:46:14 +00:00
Fan Wu
576acec126
Merge "Update ShadowSecureSettings to extend from robolectric library" into main
2024-01-24 02:44:28 +00:00
Ling Ma
704f8797ea
Merge "Wrap subManager creation with createForAllProfiles" into main
2024-01-24 02:25:58 +00:00
Ling Ma
f6b93772c4
Merge "Wrap subManager creation with createForAllProfiles" into main
2024-01-24 02:25:45 +00:00
Chaohui Wang
c909b37221
Merge "Make MoreOptionsScope abstract class" into main
2024-01-23 23:31:28 +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
Pajace Chen
c10be7c186
Merge "Update string for incompatible charging" into main
2024-01-23 14:14:18 +00:00