Commit Graph

55319 Commits

Author SHA1 Message Date
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
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
TreeHugger Robot
52493ff4f7 Merge "Use FooterPreference in xml explicitly" 2019-08-07 14:35:36 +00:00
Sunny Shao
5cb18299a9 Use FooterPreference in FingerprintSettings page
Use the new FooterPreference and removed the old FooterPreferenceMixin
from the FingerprintSettings page.

Fixes: 139050306
Test: manual test
Change-Id: Ia4a2dda57512e30ee8628ad18d9c4263b88d13fc
2019-08-07 20:35:24 +08:00
Sunny Shao
b97eda4ff5 Use FooterPreference in xml explicitly
Removed the FooterPreferenceMixin from the FeatureFlagsDashboard page.

Fixes: 139046148
Test: manual test
Change-Id: I6363f265a9c8b996141b7d7547c450cb70e2a7cd
2019-08-07 17:48:32 +08:00
Sunny Shao
6b4a22522b Use FooterPreference in xml explicitly
Removed the FooterPreferenceMixin from the ChooseAccountFragment page.

Fixes: 139043643
Test: manual test
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.accounts
Change-Id: I2b6ebef7f8ca0684afd75ec9bdd742a78a771bcd
2019-08-07 17:01:25 +08:00
Stanley Wang
c9d8437287 Merge "Fix fail to search by input "4G Calling"" 2019-08-07 02:37:30 +00:00
Raff Tsai
47dcff42df Fix storage page slow loading issue
StorageAsyncLoader is the bottleneck. It needs to loop all installed
apps and count all apps size. Original design was waiting the
asyncLoader went back then hide the loading icon. Change the design
to hide the loading icon before asyncLoader is back.

Fixes: 138964123
Test: manual
Change-Id: I54c2efa7cf61d711145811619512d927adcee210
2019-08-07 10:31:36 +08:00
TreeHugger Robot
eb00b81235 Merge "Use FooterPreference in xml explicitly" 2019-08-06 16:10:28 +00:00
TreeHugger Robot
20f0faee70 Merge "Use FooterPreference in AccountSyncSettings page" 2019-08-06 15:18:33 +00:00
TreeHugger Robot
e69ef50ba2 Merge "Make EuiccService un-disable-able." 2019-08-06 14:56:22 +00:00
Sunny Shao
343c39faee Use FooterPreference in xml explicitly
Removed the FooterPreferenceMixin from the AdaptiveSleepSettings page.

Fixes: 138965988
Test: manual test
Change-Id: If6fba673af304d8522f3b01ac6607cd8a7ead747
2019-08-06 20:50:20 +08:00
Sunny Shao
1908cb6bd2 Use FooterPreference in AccountSyncSettings page
.Use the new FooterPreference and removed the old FooterPreferenceMixin
 from the AccountSyncSettings page.
.Add the ShadowAuthenticationHelper for commnon shadow util.

Fixes: 138978130
Test: manual test
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.accounts
Change-Id: I93ae46b3b66e7e504320a9ed120ab7948dd06423
2019-08-06 20:33:44 +08:00
Stanley Wang
7b489d57a8 Fix fail to search by input "4G Calling"
Fixed step:
1.Update resource xml file in SearchIndexProvider.
2.Add keywords for preference title array.
3.Initizlize data member.
When getAvailabilityStatus called by updateNonIndexableKeys,
the data member should be initialized,
otherwise it always returns CONDITIONALLY_UNAVAILABLE

Fixes: 137155154
Test: manual
Change-Id: Id06d78bffdeba247741dcfe81e9ed7e179141397
2019-08-06 19:49:34 +08:00
Yi-Ling Chuang
7e2978ab58 Make EuiccService un-disable-able.
Disabling the eSIM Manager could leave the device in a bad state, unable
to address the eSIM, and possibly crash due to EuiccConnector failing to
find an LPA to implement EuiccService. So here we do not allow users to
disable this component.

Fixes: 135644632
Test: robotest
Change-Id: Ia4ea48b449f121edaff10531b7c975b09432a8f8
2019-08-06 17:58:08 +08:00
Stanley Wang
2862e79478 Merge "Revert "Fix app uninstalling/stopping possible in screen pinning mode"" 2019-08-06 06:17:11 +00:00
Stanley Wang
064b21e0b6 Revert "Fix app uninstalling/stopping possible in screen pinning mode"
This reverts commit 161c359508.

Reason for revert: This solution has a bug.

Change-Id: I925dab9b1a8d50de538a4fc652f722744fe3fadf
2019-08-06 03:44:02 +00:00
Yi Jiang
811908f568 Don't show suggestion slice if 'Screen attention' is already on
Bug: 137259771
Fix: 137259771
Test: Manually

Change-Id: I5568b569ecd4db943f1a239c7ddcd2923bec4028
(cherry picked from commit 06f0bd6d4e)
Merged-In: I5568b569ecd4db943f1a239c7ddcd2923bec4028
2019-08-05 17:06:24 +00:00
TreeHugger Robot
b843707ef5 Merge "Use FooterPreference in xml explicitly" 2019-08-05 13:57:30 +00:00
Sunny Shao
c83bb787c5 Use FooterPreference in xml explicitly
Removed the FooterPreferenceMixin from the AutoBrightness page.

Fixes: 138916403
Test: manual test

Change-Id: I131d5cede156e2dae890342d5b456f347b025e27
2019-08-05 18:29:01 +08:00