Commit Graph

55083 Commits

Author SHA1 Message Date
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
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
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
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
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
Christine Franks
ec8232bbcb [automerger skipped] Merge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev am: 37b38f872f am: 31cc369a4d
am: 4f05fc52bf -s ours
am skip reason: subject contains skip directive

Change-Id: I11180f4e77bd8f39bfc7385f9993ad09233a4091
2019-08-04 02:19:46 -07:00
Christine Franks
1c10be0920 [automerger skipped] [DO NOT MERGE] Update title for null uri when setting changes am: ea14373666 am: c48918dac0
am: c18d0d3090 -s ours
am skip reason: subject contains skip directive

Change-Id: Ibf8a51495910a768ff871b4a9dd5fbf9542826e8
2019-08-04 02:17:24 -07:00
Christine Franks
095f746b85 [automerger skipped] Merge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev am: 37b38f872f am: c586c923aa
am: e4ffff1ce5 -s ours
am skip reason: subject contains skip directive

Change-Id: I316d380ddefe25c508fb9e780122019bfe23ad78
2019-08-04 02:09:08 -07:00
Christine Franks
58f8945a42 [automerger skipped] [DO NOT MERGE] Update title for null uri when setting changes am: ea14373666 am: caebfbe9c9
am: 3cb194c627 -s ours
am skip reason: subject contains skip directive

Change-Id: I21b43e30e3d44835adedccb1f23e9a39144e51e2
2019-08-04 01:59:23 -07:00
Christine Franks
4f05fc52bf Merge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev am: 37b38f872f
am: 31cc369a4d

Change-Id: I0d5e1ef4822616b275f95cba16f3be03a8086973
2019-08-04 01:38:30 -07:00
Christine Franks
c18d0d3090 [DO NOT MERGE] Update title for null uri when setting changes am: ea14373666
am: c48918dac0

Change-Id: I3a48b53a963779a61c0608ee921d9f91280a04c3
2019-08-04 01:37:51 -07:00
Christine Franks
e4ffff1ce5 Merge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev am: 37b38f872f
am: c586c923aa

Change-Id: Ia18317e871e376f971335c65dedef59292852103
2019-08-04 01:36:00 -07:00
Christine Franks
3cb194c627 [DO NOT MERGE] Update title for null uri when setting changes am: ea14373666
am: caebfbe9c9

Change-Id: I488f73f99895fa4aa9e5ae23544684c56b69c78a
2019-08-04 01:34:46 -07:00
Christine Franks
c586c923aa Merge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev
am: 37b38f872f

Change-Id: I298f71e7db0840e83af06f5662d6af2d5c60bbac
2019-08-04 00:55:55 -07:00
Christine Franks
caebfbe9c9 [DO NOT MERGE] Update title for null uri when setting changes
am: ea14373666

Change-Id: I8f542126d98beefe8f221266b7f25bc9d7b0f4d5
2019-08-04 00:55:33 -07:00
Christine Franks
31cc369a4d Merge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev
am: 37b38f872f

Change-Id: Ie2b1e884d7501fb1d37ce816a5f4c78042be6300
2019-08-04 00:53:35 -07:00
Christine Franks
c48918dac0 [DO NOT MERGE] Update title for null uri when setting changes
am: ea14373666

Change-Id: Idca3e0d0855ced876f4bd891739e0141ec86a777
2019-08-04 00:53:29 -07:00
Christine Franks
37b38f872f Merge "[DO NOT MERGE] Update title for null uri when setting changes" into qt-r1-dev 2019-08-03 14:47:40 +00:00
TreeHugger Robot
87ecb5deed Merge "Import RadioButtonPreference from SettingsLib" 2019-08-03 02:52:36 +00:00
Christine Franks
ea14373666 [DO NOT MERGE] Update title for null uri when setting changes
Currently, the title will not update at all if set to silent.

Bug: 130445562
Test: make RunSettingsRoboTests -j48
Change-Id: Id8fc0182adb37c05436f5924b7dcdffb9d994e0d
2019-08-03 01:00:31 +00:00
Raff Tsai
d68802cf6d Fix robolectric test error
jobService is moved to mainline module. It is not registered in
the system at the beginning, therefore getSystemService returns
null. Instead of getSystemService, directly create a JobSchedulerImpl
and mock getSystemService method to return the JobSchedulerImpl
instance.

Fixes: 138714772
Test: make RunSettingsRoboTests
Change-Id: If91b6a63c0de92530d69f7b80515669352aab760
2019-08-02 10:22:20 +00:00
TreeHugger Robot
c078ee3b5d Merge "Add Tapjacking Protection for SettingsHomepageActivity" 2019-08-02 06:32:01 +00:00
Edgar Wang
32b0ab179c Merge "Merge "Add skip lock screen in Notification & security lock screen settings" into qt-r1-dev am: 8e3b202070 am: 063cc34713" into qt-qpr1-dev-plus-aosp
am: 1c98867b18

Change-Id: Iad2a374266f3c4c3595d6b1eb06b1433c03b161f
2019-08-01 23:14:34 -07:00
Edgar Wang
677b943ae1 Merge "Add skip lock screen in Notification & security lock screen settings" into qt-r1-dev am: 8e3b202070 am: 3448917d8e
am: fc0aec7f1a

Change-Id: Icb23c10cf6f6b4bf4c8fcb81d23d1c2b8d7ddd33
2019-08-01 23:13:14 -07:00