Commit Graph

58853 Commits

Author SHA1 Message Date
Paul Chang
ca914a36a7 Don't label non-system default handling app with sub text if there is only one profile.
Bug: 148907948
Test: Flash device and check the sub text
Change-Id: I7aa17413bb28adf552ca3551c0a04d34ae69207f
2020-02-05 17:27:49 +08:00
Bonian Chen
a8f14cb11e [Settings] Apply ImsQueryProvisioningStat to WFC
1. Code refactor
2. Apply ImsQueryProvisioningStat class to WFC's use case

Bug: 140542283
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=WifiCallingPreferenceControllerTest
Change-Id: I8a09264f83b9fc4fce3f79ec3aeb6ae757b004e4
2020-02-05 16:55:17 +08:00
Bonian Chen
8821654a91 Merge "[Settings] Apply ImsQueryProvisioningStat to VoLTE" 2020-02-05 08:49:05 +00:00
Jimmy Chen
5ba1be60a4 Wifi: update p2p API usage in settings
Bug: 146423859
Bug: 144799344
Test: atest --host SettingsRoboTests
Change-Id: Ia0225fa8110ff16ceda260f59ffee3739776a6a9
2020-02-05 16:19:15 +08:00
hughchen
eba97c8ce6 Update profile api
The profile will auto connect / disconnect when set enable / disable
profile. This CL remove connect / disconnect method.

Bug: 141582844
Test: make -j42 RunSettingsRoboTests
Change-Id: Ib875d126be0d8483fb539e7ba950242a4f38cf81
2020-02-05 16:04:36 +08:00
mincheli
02ee1e1715 Remove the entrance of magnification settings
The feature will not be landed in R. So remove the settings UI.

Bug: 146473544
Test: make RunSettingsRoboTests
Change-Id: I602d175d616c4ba1bb9f003a1dc349f58268898f
2020-02-05 08:03:30 +00:00
TreeHugger Robot
02be0c65f1 Merge "Listed order on "previously connected" depend on recently connected devices" 2020-02-05 06:20:56 +00:00
Bonian Chen
19b232f73e [Settings] Apply ImsQueryProvisioningStat to VoLTE
1. Code refactor
2. Apply ImsQueryProvisioningStat class to VoLTE's use case

Bug: 140542283
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=Enhanced4gBasePreferenceControllerTest
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=Enhanced4gLteSliceHelperTest
Change-Id: Ie5a56e9b768b9abe88c635e4e5532d72c9ddd1a2
2020-02-05 14:12:23 +08:00
TreeHugger Robot
638b45e4f3 Merge "[Wi-Fi] Apply cache in WifiTracker to update the signal icon immediatelly." 2020-02-05 05:54:17 +00:00
Bonian Chen
9e5c6130cd Merge "[Settings] Test case failure - RenameMobileNetworkDialogFragmentTest" 2020-02-05 04:57:10 +00:00
Jack Yu
98973e3ba1 Refactored cell broadcast area info support
Area info cell broadcast messages are not handled
by cell broadcast receiver anymore. Instead, they will
be processed in cell broadcast service. Privileged apps
that are interested in getting the information will need
to get it directly from cell broadcast service.

Note this is only enabled for certain countries and carriers.

Test: Manual
Bug: 141318859
Merged-In: If6a0a0c6a76e8b90a8feaea1e2771993e2d0edfe
Change-Id: If6a0a0c6a76e8b90a8feaea1e2771993e2d0edfe
(cherry picked from commit c4da22a2ce)
2020-02-04 20:42:43 -08:00
Bonian Chen
1768669a4c [Settings] Test case failure - RenameMobileNetworkDialogFragmentTest
Ignore test case to avoid from blocking others

Bug: 148907677
Test: build pass
Change-Id: I99101acfc62f8cd247d1a727936638a0ba18cf70
2020-02-05 12:32:19 +08:00
zoey chen
d54004f45e [Settings] Cannot use UnsupportedAppUsage API, use #hasIccCard() to replace
Bug: 145967955
Test: make
Change-Id: I8b948d1d416e1eb79e34be073b8ad81645d5ebb1
Merged-In: I8b948d1d416e1eb79e34be073b8ad81645d5ebb1
2020-02-05 12:04:22 +08:00
Automerger Merge Worker
626581e339 [automerger skipped] Merge changes from topic "platform-vpn-user-consent" am: e9b3f3303e am: 5437a80536 am: 8ef20ea9c5 -s ours
am skip reason: Change-Id I10cf17419636c3c30e1ec06bb3e6751cb5c65d9b with SHA-1 98678221fa is in history

Change-Id: I542dbaf8c20d98a31419381b86d8ed99fbed13f6
2020-02-05 00:38:43 +00:00
Automerger Merge Worker
2fec4ba1ed Add Platform VPNs to VPN list am: bcd6b8cbca am: 846de91c30 am: 00e44f608c
Change-Id: Ie11a67984c29b71302239e4491269e50be9be1fb
2020-02-05 00:38:40 +00:00
Automerger Merge Worker
8ef20ea9c5 Merge changes from topic "platform-vpn-user-consent" am: e9b3f3303e am: 5437a80536
Change-Id: I82d301a58cb8ea8234f2d4924123a07a3f02b784
2020-02-05 00:24:12 +00:00
Automerger Merge Worker
00e44f608c Add Platform VPNs to VPN list am: bcd6b8cbca am: 846de91c30
Change-Id: Ice85a8a0c5b526f67a56e004e3b2d3092076c658
2020-02-05 00:24:10 +00:00
Automerger Merge Worker
5437a80536 Merge changes from topic "platform-vpn-user-consent" am: e9b3f3303e
Change-Id: Ia6cd10ee5a8d78f6002874f69d08ed53a3013572
2020-02-05 00:07:43 +00:00
Automerger Merge Worker
846de91c30 Add Platform VPNs to VPN list am: bcd6b8cbca
Change-Id: Ic6e288d2e4b9634ad7a050361b309fab212e6520
2020-02-05 00:07:40 +00:00
Benedict Wong
e9b3f3303e Merge changes from topic "platform-vpn-user-consent"
* changes:
  Update setVpnPackageAuthorization call with VPN type
  Add Platform VPNs to VPN list
2020-02-04 23:56:16 +00:00
Yiwen Chen
3099df31d4 Merge "Implement new vibrate for calls in Settings." 2020-02-04 22:55:57 +00:00
Jay Aliomer
3222362404 Custom restrictions Missing period
Added a period
Test: visual
Fixes: 139077642

Change-Id: I7bab0b564e022edbac61aece94eb08c248b03135
2020-02-04 17:07:34 -05:00
Benedict Wong
62e55361a8 Update setVpnPackageAuthorization call with VPN type
This commit updates the Settings to also pass the additional
VPN type for app-based VPNs.

Bug: 144246835
Test: Compiles, manually tested to be working
Change-Id: I10cf17419636c3c30e1ec06bb3e6751cb5c65d9b
Merged-In: I10cf17419636c3c30e1ec06bb3e6751cb5c65d9b
2020-02-04 21:06:07 +00:00
Benedict Wong
15ba2177c4 Merge "Update setVpnPackageAuthorization call with VPN type" 2020-02-04 21:04:01 +00:00
TreeHugger Robot
1bfa4a8245 Merge "Revert "Revert "[Settings] Remove dependency of TelephonyIntents""" 2020-02-04 17:56:39 +00:00
TreeHugger Robot
e337835c19 Merge "Ignore drag action on the switch button of MasterSwitchPreference" 2020-02-04 14:54:09 +00:00
Bonian Chen
106e52e021 Revert "Revert "[Settings] Remove dependency of TelephonyIntents""
This reverts commit 36d1c17c71.

Reason for revert: Fix has landed at ag/10241730

Change-Id: Iabde9194ed69b7bdb0a91058242bc0c239496dc5
2020-02-04 13:52:41 +00:00
TreeHugger Robot
85587fc0c1 Merge "Update dark theme slice for new display criteria" 2020-02-04 13:37:21 +00:00
Alex Johnston
72a3827f68 Merge "Update work profile app lock to latest spec" 2020-02-04 13:37:15 +00:00
Morten Krogh-Jespersen
267561a6ef Merge "Revert "[Settings] Remove dependency of TelephonyIntents"" 2020-02-04 13:16:21 +00:00
Morten Krogh-Jespersen
36d1c17c71 Revert "[Settings] Remove dependency of TelephonyIntents"
This reverts commit 6a6b416c3d.

Reason for revert: b/148838390

Change-Id: I9be2c370c6923e9d7293e4eff5306bc54d49ade2
2020-02-04 13:10:59 +00:00
TreeHugger Robot
2f3b3a20fc Merge "Update battery manager toggle to support on / off summary." 2020-02-04 13:10:41 +00:00
Bonian Chen
15df6d4b83 Merge "[Settings] fix failure test case - ConditionContextualCardController" 2020-02-04 13:08:10 +00:00
TreeHugger Robot
bd64ff75b7 Merge "Fix failing test cases" 2020-02-04 12:38:46 +00:00
Bonian Chen
2d29e935f7 Merge "[Settings] Add ImsQueryProvisioningStat for VT" 2020-02-04 12:18:49 +00:00
Automerger Merge Worker
b7f5bf4682 [automerger skipped] Merge "[Settings] Avoid rename inactive subscription from NullPointerException" am: 91638e079f am: eafda3c724 am: b0ebb47014 -s ours
am skip reason: Change-Id Ifc245bec739b4c81d2cee04b091bcdb54d567d4a with SHA-1 1b71b5e601 is in history

Change-Id: I2eae2a31035e0d337f0f0b0554cead9cadaa16b1
2020-02-04 11:09:10 +00:00
Bonian Chen
ac55b2ca49 [Settings] fix failure test case - ConditionContextualCardController
Setup parameters required by CellularDataConditionController

Bug: 148834975
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=ConditionContextualCardControllerTest
Change-Id: I8e0c7435cf18cfdafa39f58697b6d29db34b1867
Merged-In: I974df385d956dbff10aac874487d07d626992e4b
2020-02-04 18:59:53 +08:00
Automerger Merge Worker
b0ebb47014 Merge "[Settings] Avoid rename inactive subscription from NullPointerException" am: 91638e079f am: eafda3c724
Change-Id: I3e92055ad03cfa4f0bbe80185840f5783559c96f
2020-02-04 10:59:36 +00:00
Bonian Chen
8873444847 [Settings] fix failure test case - ConditionContextualCardController
Setup parameters required by CellularDataConditionController

Bug: 148834975
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=ConditionContextualCardControllerTest
Change-Id: I974df385d956dbff10aac874487d07d626992e4b
2020-02-04 18:58:06 +08:00
Automerger Merge Worker
eafda3c724 Merge "[Settings] Avoid rename inactive subscription from NullPointerException" am: 91638e079f
Change-Id: I9a488c3d7b6452b64d1cb8b532d0f66f25017773
2020-02-04 10:51:31 +00:00
Bonian Chen
91638e079f Merge "[Settings] Avoid rename inactive subscription from NullPointerException" 2020-02-04 10:43:01 +00:00
Arc Wang
0466c6e005 Ignore drag action on the switch button of MasterSwitchPreference
MasterSwitchPreference provides a toggle switch and it only
acts for clicking events. This fix consumes move events to
ignore drag actions.

Bug: 148770615
Test: make RunSettingsRoboTests ROBOTEST_FILTER=MasterSwitchPreferenceTest
      Manually drag the switch button of MasterSwitchPreference and
      observe the switch state is not changed.
Change-Id: I0d8b947b32d35b85403fc65605c18c09a4053135
2020-02-04 18:26:33 +08:00
Tsung-Mao Fang
1361e89b29 Fix failing test cases
Test: Run robo test
Fix: 148200531
Change-Id: I73698515d6b6572b2d81eb4ca34a3dd7c370968a
2020-02-04 18:19:27 +08:00
Bonian Chen
2cf0ba57f8 Merge "[Settings] Avoid rename inactive subscription from NullPointerException" 2020-02-04 10:04:18 +00:00
menghanli
1869e01f3e Fix Startup fails when click "Color correction" of the selection menu in "Color correction" page
Setting provider observar is register onResume() and release of onPause().
The selection menu is activity-base dialog to cause the app does not to monitor the value change.

Bug: 148832544
Test: Manual test
Change-Id: I01354d5096c00ba39336e27aa45169d8768f8594
2020-02-04 17:44:40 +08:00
Sunny Shao
1f3429a25d Update dark theme slice for new display criteria
- Add "dark theme scheduling is off" as a new display creteria.

Fixes: 142476879
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.homepage
Change-Id: Ib88edd0bd9d4b776cdf8ec93bac4e199e0da41de
2020-02-04 17:31:51 +08:00
menghanli
6287ee027c Dynamic Select-To-Speak and Talkback setFragment style on SUW Welcome Screen.
Check the APK target SDK to use corresponding fragment to avoid wrong
status before these app release to R.

Bug: 147997595
Bug: 148394224
Bug: 148438898
Test: Manual test
Change-Id: I3a4ca6b8566f3f731b651e1f785f4fc18319ca89
2020-02-04 17:17:00 +08:00
menghanli
30e5fea655 Change the Settings to app name with settings
Bug: 148837311
Test: Manual test
Change-Id: Ib27fd840c1a33378d9b301658b5d6c9ef148c615
2020-02-04 17:13:18 +08:00
TreeHugger Robot
21276e72d6 Merge "[Wi-Fi] Fix strange split line when there is no connected network" 2020-02-04 07:16:39 +00:00
Jack Yu
5092df3f76 Merge "Refactored cell broadcast area info support" 2020-02-04 07:00:53 +00:00