Commit Graph

57932 Commits

Author SHA1 Message Date
Automerger Merge Worker
a74cbac7af Merge "Removed reference to RadioAccessFamily" am: b13a4ef322 am: d934d5eda2 am: 46f5e64f94
Change-Id: Id01aa204e70d2eb7f9151eccfd2184d06a7aa61b
2020-01-09 02:44:05 +00:00
Automerger Merge Worker
12afd1b101 [automerger skipped] Merge "Handle 5G meteredness in telephony framework" into qt-qpr1-dev-plus-aosp am: 0904e65eb8 -s ours
am skip reason: Change-Id Ided2e445d3758ebc6c4f4df63145f61f9a56f64e with SHA-1 f123f98510 is in history

Change-Id: Ibc41af0d95bd15a2b1a7130374920197898941a6
2020-01-09 02:43:36 +00:00
Automerger Merge Worker
e0620e14b5 [automerger skipped] Handle 5G meteredness in telephony framework am: f123f98510 -s ours
am skip reason: Change-Id Ided2e445d3758ebc6c4f4df63145f61f9a56f64e with SHA-1 2136bc92fe is in history

Change-Id: I216eb67b026024b0131c9d2c4ee87f02fe549984
2020-01-09 02:42:15 +00:00
Automerger Merge Worker
46f5e64f94 Merge "Removed reference to RadioAccessFamily" am: b13a4ef322 am: d934d5eda2
Change-Id: I1b13f79040ba776e8a0c763280d4fc3f89e3f373
2020-01-09 02:26:28 +00:00
Sarah Chin
0904e65eb8 Merge "Handle 5G meteredness in telephony framework" into qt-qpr1-dev-plus-aosp 2020-01-09 02:23:13 +00:00
Lee Chou
d934d5eda2 Merge "Removed reference to RadioAccessFamily"
am: b13a4ef322

Change-Id: I982ca4865d7aed198a1e1f78c80f0340218d27a2
2020-01-08 18:11:26 -08:00
Treehugger Robot
b13a4ef322 Merge "Removed reference to RadioAccessFamily" 2020-01-09 02:09:10 +00:00
Automerger Merge Worker
a09d1a73bd Merge "Fix policy for platform compat UI" am: 3208f994c1 am: e184ff6028 am: b85d1971bf
Change-Id: I1b8f54ab614ec7ad3649d24e6fff661038817557
2020-01-08 18:55:10 +00:00
Automerger Merge Worker
b85d1971bf Merge "Fix policy for platform compat UI" am: 3208f994c1 am: e184ff6028
Change-Id: If560c3b115101910ab4e7e2976463ebd30d79d1b
2020-01-08 18:54:09 +00:00
Andrei-Valentin Onea
e184ff6028 Merge "Fix policy for platform compat UI"
am: 3208f994c1

Change-Id: I88c0caf2c0904db1a1acfae7072699031d66fcdf
2020-01-08 10:47:45 -08:00
Andrei-Valentin Onea
3208f994c1 Merge "Fix policy for platform compat UI" 2020-01-08 18:42:44 +00:00
Automerger Merge Worker
fb5bf79192 [automerger skipped] Merge "[Settings] Remove IMS factoryReset()" am: bf3aaf0f37 am: dc4e189dbc am: db65d2b0b2 -s ours
am skip reason: Change-Id Id5c868726189397fc2a85717326e56e055b640af with SHA-1 45d9f23fee is in history

Change-Id: Ia4f2777f541553bd0377c658b6bab392c0d86746
2020-01-08 18:36:56 +00:00
Automerger Merge Worker
db65d2b0b2 Merge "[Settings] Remove IMS factoryReset()" am: bf3aaf0f37 am: dc4e189dbc
Change-Id: I019d3a5df41512a142a4745b4d56a53b73a05c60
2020-01-08 18:25:01 +00:00
Bonian Chen
dc4e189dbc Merge "[Settings] Remove IMS factoryReset()"
am: bf3aaf0f37

Change-Id: I56c8a7b23e97bf13e44faedd9a3aac898f3c11e9
2020-01-08 10:09:32 -08:00
Bonian Chen
bf3aaf0f37 Merge "[Settings] Remove IMS factoryReset()" 2020-01-08 17:29:10 +00:00
Andrei Onea
96de9d4cac Fix policy for platform compat UI
Only show debuggable apps on user builds. Also, only enable changes that
are overrideable.

Bug: 138280620
Bug: 144552011
Test: Settings->Developer Options->App Compatibility Changes on user
	build
Test: atest PlatformCompatDashboardTest
Exempt-From-Owner-Approval: Previously approved
Change-Id: Ibf9611d1809492ebe979fc55f9331daf78ca9b27
2020-01-08 16:44:36 +00:00
TreeHugger Robot
ef47d9a045 Merge "Extend panel max slice number to six" 2020-01-08 15:38:08 +00:00
Bonian Chen
2eb3e0146f Merge "[Settings] Remove IMS factoryReset()" 2020-01-08 15:38:05 +00:00
TreeHugger Robot
b9f70c1166 Merge "Extend single Slice max height" 2020-01-08 15:37:48 +00:00
timhypeng
56590ca856 Extend single Slice max height
- overwrite the AndroidX value
- set the max height as ten remote media sessions(twenty row slices)

Bug: 147272814
Test: make -j50 RunSettingsRoboTests
Change-Id: I16d77fb142619ff0356ccefc90835e4f4f59926e
2020-01-08 15:35:26 +00:00
Bonian Chen
4fa40aed87 [Settings] Remove IMS factoryReset()
IMS factoryReset() has been done within
TelephonyManager.resetSettings().

Bug: 147342492
Test: manual
Change-Id: Ic17b8235e76a4bcf3e6bf5329a88477697a33c51
Merged-In: Id5c868726189397fc2a85717326e56e055b640af
2020-01-08 14:15:37 +00:00
Bonian Chen
45d9f23fee [Settings] Remove IMS factoryReset()
IMS factoryReset() has been done within
TelephonyManager.resetSettings().

Bug: 147342492
Test: manual
Change-Id: Id5c868726189397fc2a85717326e56e055b640af
2020-01-08 22:12:01 +08:00
TreeHugger Robot
a05405f8b6 Merge "Update the lint color check file." 2020-01-08 12:16:32 +00:00
Shafik Nassar
e784497d82 Merge "Add test for MANAGE_EXTERNAL_STORAGE UI" 2020-01-08 11:54:18 +00:00
Shafik Nassar
2751c43f1d Merge "Add settings UI for MANAGE_EXTERNAL_STORAGE" 2020-01-08 11:54:18 +00:00
Stanley Wang
24863f02bc Update the lint color check file.
Fixes: 147341852
Test: manual
Change-Id: I84a07a7decac27d6e8b447b6734c4f7c296c480e
2020-01-08 19:16:00 +08:00
Lee Chou
373b43c16e Removed reference to RadioAccessFamily
1. Removed reference to RadioAccessFamily#getNetworkTypeFromRaf,
RadioAccessFamily#getRafFromNetworkType

2. Migrated hidden NETWORK_MODE_* constants in TelephonyManager

Bug: 147079703
Test: build and test manually
Change-Id: I94745edc37d80336197f874cb7b4afd42dfc97a8
2020-01-08 19:13:47 +08:00
Betty Chang
4b7bdb0dfb Merge "[Mainline] Use isActiveSubscriptionId instead of isActiveSubId for mainline" 2020-01-08 10:21:54 +00:00
shafik
bf71774e23 Add test for MANAGE_EXTERNAL_STORAGE UI
Adds a unit test for ManageExternalStorageDetails to ensure it calls
AppOpsManager and toggles the preference switch accordingle.

Test: make RunSettingsRoboTests ROBOTEST_FILTER=ManageExternalStorageDetailsTest
Bug: 146425146
Change-Id: Ibd41e189b34c13413b504c101833629cc577b8ac
2020-01-08 09:32:54 +00:00
shafik
430b94bbc1 Add settings UI for MANAGE_EXTERNAL_STORAGE
Adds a Special App Access setting for the app-op
OP_MANAGE_EXTERNAL_STORAGE. All apps requesting the corresponding
permission will be displayed in the settings page. Toggling the
preference switch for an app will grant/revoke the app-op.

All of the external references to the permission, app-op and their
corresponding activities and logic use the name "Manage External
Storage". All of the external displays and strings use the name "All
files access"

Test: * Install app with uses-permission MANAGE_EXTERNAL_STORAGE
      * Observe it appearing the All files access page
      * Toggle the switch and observe the change in
        'adb shell dumpsys appops'
Bug: 146425146

Change-Id: If5c9c5daa3616a3310c090283acfda933bf9df26
2020-01-08 09:24:25 +00:00
changbetty
f4d2771526 [Mainline] Use isActiveSubscriptionId instead of isActiveSubId for mainline
Bug: 147206736
Test: make RunSettingsRoboTests ROBOTEST_FILTER=DisabledSubscriptionControllerTest
      make RunSettingsRoboTests ROBOTEST_FILTER=MobileNetworkSwitchControllerTest
      make RunSettingsRoboTests ROBOTEST_FILTER=SimSelectNotificationTest

Change-Id: If740c2d7ea2c1392d5fe538091ea6e5c4575ad26
2020-01-08 15:48:33 +08:00
Menghan Li
65a0488e1b Merge "Maginfy Improvement" 2020-01-08 07:30:38 +00:00
Goven Liu
48b132470a Merge "[Wi-Fi] Change constant security type definition to Wificonfig value" 2020-01-08 06:00:48 +00:00
timhypeng
e60684c175 Extend panel max slice number to six
Bug: 147332809
Test: make -j50 RunSettingsRoboTests
Change-Id: I523af9ba1b2bd172cb544bf7d6ddb15f5f9d5aef
2020-01-08 05:41:22 +00:00
Goven Liu
836503bdd4 Merge "[Wi-Fi] Add LinkifyUtilTest file to enlarge the test coverage in WiFi Settings." 2020-01-08 03:44:10 +00:00
TreeHugger Robot
70cff55a26 Merge "Create preference controller for each tethering option" 2020-01-08 02:08:39 +00:00
govenliu
025e37c4f7 [Wi-Fi] Add LinkifyUtilTest file to enlarge the test coverage in WiFi Settings.
Add LinkifyUtilTest file to enlarge the test coverage in WiFi Settings.

Bug:147325788
Test: Add test file LinkifyUtilsTest to test LinkifyUtils function.
Change-Id: I6654432e7ce49dba7ffb10fa70c3ba968c1fa9f3
2020-01-08 09:48:49 +08:00
Automerger Merge Worker
935d5fa76e [automerger skipped] Merge "[Settings] Remove access to getSimOperator() API" am: cd4113ba5c am: 5113ada6ab am: 74baf75975 -s ours
am skip reason: Change-Id I25cc9dc0912564b8d6f8b23b53f3eb20a51eea32 with SHA-1 bb53dd5f93 is in history

Change-Id: I4f5a0e92cf34f8a3cc27673f133f3730b10ec154
2020-01-07 18:42:44 +00:00
Automerger Merge Worker
74baf75975 Merge "[Settings] Remove access to getSimOperator() API" am: cd4113ba5c am: 5113ada6ab
Change-Id: I54323620052496d6cb82d65623eed0a0404f9d45
2020-01-07 18:31:09 +00:00
Bonian Chen
5113ada6ab Merge "[Settings] Remove access to getSimOperator() API"
am: cd4113ba5c

Change-Id: I419340fe39e2e708b376970f1f5b99de6e99e5dc
2020-01-07 10:10:46 -08:00
Bonian Chen
cd4113ba5c Merge "[Settings] Remove access to getSimOperator() API" 2020-01-07 18:06:40 +00:00
Automerger Merge Worker
fecb9c0f79 [automerger skipped] Merge "[Settings] Remove PhoneStateIntentReceiver" am: 1a3ed7a560 am: dbc6a6395e am: 30fa13d592 -s ours
am skip reason: Change-Id Ib39ab1881484f65bc5a3834b2828c6ba98198cca with SHA-1 717e0765a5 is in history

Change-Id: Ie91fb45a508a24d6ceb7c9d31114cc848af9d6a7
2020-01-07 16:51:53 +00:00
Automerger Merge Worker
30fa13d592 Merge "[Settings] Remove PhoneStateIntentReceiver" am: 1a3ed7a560 am: dbc6a6395e
Change-Id: Iece6ca294d5c52595b3ad249a2ea1a09ae0a6e8d
2020-01-07 16:40:17 +00:00
Bonian Chen
dbc6a6395e Merge "[Settings] Remove PhoneStateIntentReceiver"
am: 1a3ed7a560

Change-Id: I3e5645099ab4449514cbf385beb099b411893bbd
2020-01-07 08:26:38 -08:00
Bonian Chen
1a3ed7a560 Merge "[Settings] Remove PhoneStateIntentReceiver" 2020-01-07 16:21:01 +00:00
Bonian Chen
ead9773772 Merge "[Settings] Code refactor" 2020-01-07 16:08:14 +00:00
TreeHugger Robot
3a2e22660e Merge "Update work profile lock in Settings to latest spec" 2020-01-07 15:11:12 +00:00
Alex Johnston
7868acfa74 Update work profile lock in Settings to latest spec
* Updated FrameLayout of work profile lock in Settings to use GlifLayout
* Removed old background image of work profile lock
* Updated text for PIN, password and pattern
* Added enterprise logo to work profile lock

Bug: 141290838
Test: Manual testing
      atest com.android.settings.password

Change-Id: Ie09974857b6c76a182a8075b9e1964a2e0af0de9
2020-01-07 14:15:28 +00:00
Bonian Chen
4061fdd19b [Settings] Code refactor
1. Replace the detection of screen on
2. Refactor updateCell method

Bug: 147263514
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=NetworkSelectSettingsTest
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=NetworkOperatorPreferenceTest
Change-Id: I1ae3ee4d1b62b488aeb2163f42878697b770be65
2020-01-07 13:21:45 +00:00
Bonian Chen
7d31f16e0f [Settings] Remove access to getSimOperator() API
Replace getSimOperator() by having SubscriptionInfo
from ProxySubscriptionManager#getActiveSubscriptionInfo().

Bug: 144263441
Test: Manual
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=ApnEditorTest
Change-Id: I132b352dfb50a9cd3a2ddd21b347177ac0332740
Merged-In: I25cc9dc0912564b8d6f8b23b53f3eb20a51eea32
2020-01-07 12:44:30 +00:00