Commit Graph

56807 Commits

Author SHA1 Message Date
Jordan Liu
772e21598e [automerger skipped] Merge "Allow radio info on phones with no subscription" am: 19d1f890a0 am: b377a593b7 am: 1fc63fc444 am: 028f2c87a1
am: eda0936e38 -s ours
am skip reason: change_id Idbde691c60b53e0ab755df229a3a9dc77406934d with SHA1 8b0ff8dce1 is in history

Change-Id: I69eb3060317f3747e48d17be0ecff7c52d796d7b
2019-08-13 19:27:39 -07:00
Jordan Liu
eda0936e38 Merge "Allow radio info on phones with no subscription" am: 19d1f890a0 am: b377a593b7 am: 1fc63fc444
am: 028f2c87a1

Change-Id: I6f6c67b41652ce9b2638aca922ad489db74a0495
2019-08-13 19:13:45 -07:00
Jordan Liu
028f2c87a1 Merge "Allow radio info on phones with no subscription" am: 19d1f890a0 am: b377a593b7
am: 1fc63fc444

Change-Id: I114db364c10315dca50b75270fc14da7eaf1d354
2019-08-13 19:01:30 -07:00
Jordan Liu
1fc63fc444 Merge "Allow radio info on phones with no subscription" am: 19d1f890a0
am: b377a593b7

Change-Id: Ibe68e60583fdf2bd08d6d8f62b5c942878dd160e
2019-08-13 18:48:49 -07:00
Arc Wang
05381bf009 Merge "[Wi-Fi] Fix multi SIM devices switch to mobile data automatically settings missing problem" 2019-08-14 01:44:18 +00:00
Jordan Liu
b377a593b7 Merge "Allow radio info on phones with no subscription"
am: 19d1f890a0

Change-Id: Ia63778cf83212b2670413e2567c068bf92f6ff05
2019-08-13 18:37:15 -07:00
Jordan Liu
19d1f890a0 Merge "Allow radio info on phones with no subscription" 2019-08-14 00:22:42 +00:00
Xin Li
c3ef16882d DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master
Bug: 139369544
Change-Id: I483962d870c69d1c454d5bc04c76d9f7d7a12520
2019-08-13 16:36:39 -07:00
Jordan Liu
032ca466f1 Merge "Allow radio info on phones with no subscription" 2019-08-13 19:45:05 +00:00
android-build-team Robot
573db8a758 Snap for 5674421 from 4a949c0640 to pi-platform-release
Change-Id: Idb0d7d08f9581908c2f5e2881a73b1c806f1ddb9
2019-08-13 16:25:08 +00:00
Arc Wang
fe9a794eaf [Wi-Fi] Fix multi SIM devices switch to mobile data automatically settings missing problem
Context#getResources loading is done based on the last SIM to
come up, we may get wrong customization settings.

This fix check all active subscriptions and shows the preference
when there is one SIM applies.

Bug: 138956509
Test: CellularFallbackPreferenceControllerTest
      manual test:
          1. Insert feature supported SIM and check UI.
          2. Remove feature supported SIM and check UI.
          3. Turn airplane mode on and check 1. and 2..

Change-Id: I72b6db415429181395a02f163889bb1b9c0f070f
2019-08-13 13:03:19 +00:00
TreeHugger Robot
0ec21f8a1b Merge "Fix some icons are missing in dark mode" 2019-08-13 12:37:42 +00:00
Sunny Shao
1bebe19101 Use FooterPreference in xml explicitly
Removed the FooterPreferenceMixin from the ChooseLockGeneric page.

Fixes: 139269907
Test: manual test
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.password
Change-Id: I86e294015354c0a6a6311441892a770503382d1f
2019-08-13 20:08:54 +08:00
TreeHugger Robot
66ca4bbd75 Merge "Fix flaky test error" 2019-08-13 11:19:30 +00:00
TreeHugger Robot
4f9595a88d Merge "Make Bluetooth settings page can be discoverable" 2019-08-13 09:57:39 +00:00
Raff Tsai
65ad3da004 Fix some icons are missing in dark mode
- Those icons are black, they are invisible in black background.
Removed the png files and used vector drawable instead.
- Remove a duplicated string

Fixes: 139101780
Test: visual
Change-Id: Id77aba716a304d38af6346bcdf436a4a9aebfd8c
2019-08-13 16:05:51 +08:00
hughchen
2353dd54b8 Fix flaky test error
Use mac address to check preference whether is equal instead of use
preference.

Bug: 138547532
Test: make -j42 RunSettingsRoboTests
Change-Id: Iffbbdf063e78a3bf40e74d798ef4dd3a439f8677
2019-08-13 11:26:02 +08:00
hughchen
a0b167e3da Make Bluetooth settings page can be discoverable
Bug: 118760361
Test: make -j42 RunSettingsRoboTests
Change-Id: I2f663197f3c0f6c58529609845bab4dd7e714348
2019-08-13 10:41:34 +08:00
Yi Jiang
8d16175c21 [automerger skipped] Merge "Don't show suggestion slice if 'Screen attention' is already on" into qt-qpr1-dev am: 7933af0273
am: 943e7b34e8 -s ours
am skip reason: change_id I5568b569ecd4db943f1a239c7ddcd2923bec4028 with SHA1 06f0bd6d4e is in history

Change-Id: I77f8c9a8c27f506bfd4e9c54a1ad844b77f4c724
2019-08-12 18:51:43 -07:00
Yi Jiang
e6af4e136b Merge "Don't show suggestion slice if 'Screen attention' is already on" into qt-qpr1-dev
am: 7933af0273

Change-Id: Iecc58066521d19bb58514eca667a5f4daecbe0de
2019-08-12 18:51:42 -07:00
TreeHugger Robot
e796653f0a Merge "Clean up "Restrict SMS" developer setting" 2019-08-13 01:45:40 +00:00
Yi Jiang
943e7b34e8 Merge "Don't show suggestion slice if 'Screen attention' is already on" into qt-qpr1-dev
am: 7933af0273

Change-Id: Ibb750cc10763ade05e3f611a22e602ea3ebe7d5e
2019-08-12 18:41:16 -07:00
Yi Jiang
7933af0273 Merge "Don't show suggestion slice if 'Screen attention' is already on" into qt-qpr1-dev 2019-08-13 01:28:31 +00:00
Jordan Liu
655c1be579 Allow radio info on phones with no subscription
Some info is still helpful for debugging in these cases.

Bug: 139074613
Test: manual
Change-Id: Idbde691c60b53e0ab755df229a3a9dc77406934d
Merged-In: Idbde691c60b53e0ab755df229a3a9dc77406934d
2019-08-12 19:02:27 +00:00
Jordan Liu
8b0ff8dce1 Allow radio info on phones with no subscription
Some info is still helpful for debugging in these cases.

Bug: 139074613
Test: manual
Change-Id: Idbde691c60b53e0ab755df229a3a9dc77406934d
2019-08-12 12:01:36 -07:00
Sunny Shao
b46650a10f Use FooterPreference in xml explicitly
Removed the FooterPreferenceMixin from the ZenCustomRuleBlockedEffectsSettings page.

Fixes: 139264543
Test: manual test
Change-Id: Ib174eaa1c18b33e03fe5729d4a966b260e2bc15d
2019-08-12 17:10:17 +08:00
Goven Liu
2961394f98 Merge "[Wi-Fi] Add a new fragment for configuring a new AccessPoint network." 2019-08-12 06:31:15 +00:00
Sunny Shao
b4214464e5 Use FooterPreference in xml explicitly
Removed the FooterPreferenceMixin from the ZenModeBlockedEffectsSettings page.

Fixes: 139258311
Test: manual test
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.notification
Change-Id: I0367390ffb27743e394db3108b3992fee1b943a7
2019-08-12 12:09:39 +08:00
TreeHugger Robot
a520e36d35 Merge "Use Builder to replace the Uitls.addFooterPreference" 2019-08-12 00:42:14 +00:00
govenliu
8d6e5d14cb [Wi-Fi] Add a new fragment for configuring a new AccessPoint network.
When configuring a new access point in Wi-Fi settings page, it's hard to figure out there are some other option items after you tapping the "Advanced options" button.

To improve it, use full screen fragment to present the configuration items, so user can see as many items as possible.

Bug: 31052996
Test: Mock this fragment and check each button status run as expected.
Change-Id: I1c8e552fcabb1414bb500d918ed61287bf4aece2
2019-08-10 21:01:01 +08:00
Raff Tsai
946441ca27 Learn mode link is not in footer text
Use wrong footerPreference key.

Change-Id: Ic88b4bf9cf336474231329aa2154242d3f95b91a
Fix: 139086150
Test: visual
2019-08-09 17:21:18 +08:00
Sunny Shao
01d6f05f53 Use Builder to replace the Uitls.addFooterPreference
Fixes: 139163212
Test: manual test
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.bluetooth
Change-Id: I223e4a234d07e5b95ebb9478f0888a4828e8e64d
2019-08-09 17:03:12 +08:00
Abhijeet Kaur
73e3aa192e Merge "Turn on feature flag to use bugreport API by default" 2019-08-09 07:24:10 +00:00
Sunny Shao
7e866b670e Use Builder to replace the Uitls.addFooterPreference
Fixes: 139163212
Test: manual test
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.bluetooth
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.accounts
Change-Id: I861434b81c07db785e6f1cfb3e34871ffba41e5f
2019-08-09 11:42:04 +08:00
TreeHugger Robot
7be752269b Merge "Fix storage page slow loading issue" 2019-08-09 02:46:02 +00:00
TreeHugger Robot
fa9e685fff Merge "Use FooterPreference in xml explicitly" 2019-08-09 00:25:22 +00:00
Roshan Pius
6faf8649c7 Settings(wifi): Allow mainline wifi stack to use network request dialog
The wifi stack may not be running in system_server, so cannot get
NETWORK_SETTINGS permisison (platform signature). Guard it using the new
wifi mainline permission. If the wifi stack is running in system_server
(until it becomes a mainline module), it's uid (SYTEM_UID) should bypass all
permission checks.

Bug: 113174748
Test: Verified with CtsVerifier tests.
Change-Id: I87be97bb6e42c055d3aaa317a096256fd66f9e14
2019-08-08 12:27:15 -07:00
Abhijeet Kaur
624832e5de Turn on feature flag to use bugreport API by default
Bug: 136548098
Test: build, flash, take bugreport from Settings uses API workflow by
default. Turning off the feature flag from Settings uses old bugreport
workflow

Change-Id: Icbfa82e2dc218769fdcc03d15ce3cc7bb50cc4ef
2019-08-08 15:14:39 +01:00
TreeHugger Robot
6c38db1c39 Merge "Use FooterPreference in xml explicitly" 2019-08-08 12:11:58 +00:00
Abhijeet Kaur
da7adf1f11 Merge "Use USE_BUGREPORT_API flag from FeatureFlagUtils" 2019-08-08 10:53:31 +00:00
Sunny Shao
660b36e061 Use FooterPreference in xml explicitly
- Removed the FooterPreferenceMixin from the BluetoothDetailsMacAddressController.
 - Added the common api addFooterPreference.

Fixes: 139104386
Test: manual test
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.bluetooth
Change-Id: Iab40fa4c5be674290b1dc6d372c84609ccc2ea49
2019-08-08 18:42:26 +08:00
Arc Wang
f11c03d469 [automerger skipped] [Wi-Fi] Remove unsupported EAP methods for WPA3-Enterprise 192-bit am: bde8c0a64d
am: 3e64c28534 -s ours
am skip reason: change_id Ibf904da9407ec803afb8bb995e9df1a2e25f0dcb with SHA1 6351f7c37a is in history

Change-Id: I983adb8073b43461083a239e9a7441486fd8e629
2019-08-08 01:30:57 -07:00
Arc Wang
5776e726d0 [Wi-Fi] Remove unsupported EAP methods for WPA3-Enterprise 192-bit
am: bde8c0a64d

Change-Id: Ib7dc37d80825346c6c024c84f450f8762c21b3ef
2019-08-08 01:30:51 -07:00
Sunny Shao
fb695782c5 Use FooterPreference in xml explicitly
Removed the FooterPreferenceMixin from the BillingCycleSettings page.

Fixes: 139099367
Test: manual test
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.datausage
Change-Id: I408e433b3366a617b6c5a6fdb18f4830de4b8287
2019-08-08 16:25:14 +08:00
Arc Wang
3e64c28534 [Wi-Fi] Remove unsupported EAP methods for WPA3-Enterprise 192-bit
am: bde8c0a64d

Change-Id: I82e94257097ab902a72a0dc7d64ff50241938e24
2019-08-08 01:21:32 -07:00
Arc Wang
bde8c0a64d [Wi-Fi] Remove unsupported EAP methods for WPA3-Enterprise 192-bit
1. Only support EAP-TLS for WPA3-Enterprise 192-bit
2. Remove "Do not validate" from the CA certificate menu
3. Remove "Do not provide" from user certificate menu

Bug: 135127581
Test: WifiConfigControllerTest
Change-Id: Ibf904da9407ec803afb8bb995e9df1a2e25f0dcb
Merged-In: Ibf904da9407ec803afb8bb995e9df1a2e25f0dcb
2019-08-08 14:52:08 +08:00
Eugene Susla
1a52b92dc2 Clean up "Restrict SMS" developer setting
The underlying setting itself was cleaned up in Q,
the toggle does nothing and just turns itself back off when toggled

Test: ensure developer settings no longer have the "Restrict SMS" toggle
Fixes: 138827426
Change-Id: I5d5dda82f8f34330a705ad60d2b7f77d552b76fe
2019-08-07 15:43:21 -07:00
Fabian Kozynski
e94d09fc34 Add BooleanState metadata to DevelopmentTiles
Test: manual, tiles now have correct TB
Bug: 138579147
Change-Id: If4d7c1685058cb63935e57d90af4d0d4c42a3251
2019-08-07 15:42:03 -04:00
Abhijeet Kaur
59be362d67 Use USE_BUGREPORT_API flag from FeatureFlagUtils
To avoid flag duplication, this flag is moved to FeatureFlagUtils.java
where other callers can also use this flag. Using this flag's value from
FeatureFlagUtils instead of the local FeatureFlag file in Settings.

Bug: 136548292
Test: Settings can still access this feature flag as before
Test: Builds and API workflow gets triggered by turning on the flag
Change-Id: I60e4d96033219c934a43e728705fee93e338d60e
2019-08-07 16:47:28 +01:00
TreeHugger Robot
656e4ef701 Merge "Use FooterPreference in FingerprintSettings page" 2019-08-07 14:59:25 +00:00