Commit Graph

3665 Commits

Author SHA1 Message Date
jeffreyhuang
60023506e9 Introduce AnimatorDurationScalePreferenceCtrl
- Create new AnimatorDurationScalePreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I38820337184916f5d174814721ff61fd14ae9055
2017-10-10 17:46:50 -07:00
jeffreyhuang
5b189de9df Introduce SimulateColorSpacePreferenceController
- Create new SimulateColorSpacePreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I89044404b19c47a6e3ce4e9d86dd6806aadbd0b5
2017-10-10 17:42:12 -07:00
TreeHugger Robot
921db1f98c Merge "Remove DevelopmentTileConfigActivity and clean up fragment." 2017-10-10 23:38:36 +00:00
TreeHugger Robot
39a9f7494d Merge "Hide "Lanauage" in search to avoid dupe results." 2017-10-10 23:18:59 +00:00
jeffreyhuang
60ab063ea3 Introduce LogPersistPreferenceControllerV2
- Create new LogPersistPreferenceControllerV2
 - Deprecate LogPersistPreferenceController
 - Add DisableLogPersistWarningDialog
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I8ff49ec4ece15cad2d0c60bd21488e3f5d55ee98
2017-10-10 16:05:32 -07:00
Fan Zhang
f63ad8f5f8 Refactor status page to DashboardFragment
Change-Id: I7ebf1e39de5b5ac852e375873d6445c4ef9c8c0a
Fixes: 65492237
Test: robotests
2017-10-10 15:51:35 -07:00
jeffreyhuang
f6cbc875e5 Introduce DebugGpuOverdrawPreferenceController
- Create new DebugGpuOverdrawPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ibaa2faa79716a0cc769d15f6fe3b868719c0f8a6
2017-10-10 15:47:59 -07:00
Jeffrey Huang
07ed55e9d0 Merge "Introduce BluetoothAvrcpVersionPreferenceCtrl" 2017-10-10 22:45:16 +00:00
jeffreyhuang
9c4a8c104f Introduce WindowAnimationScalePreferenceController
- Create new WindowAnimationScalePreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I71c17f4ea7ca9a0273a84cb75e506e9668817473
2017-10-10 14:51:55 -07:00
jeffreyhuang
ff1e0e1041 Introduce BluetoothAvrcpVersionPreferenceCtrl
- Create new BluetoothAvrcpVersionPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I752a5d1d777b216e102a5e074f55fa73e63ff6ca
2017-10-10 14:02:01 -07:00
Fan Zhang
231986ae9c Hide "Lanauage" in search to avoid dupe results.
Change-Id: I607ac2150912bfa6ca05e6f977daab7fd90a9637
Fixes: 67515153
Test: robotests
2017-10-10 13:54:05 -07:00
Jeffrey Huang
f12d7270de Merge "Introduce LogdSizePreferenceControllerV2" 2017-10-10 20:43:24 +00:00
Glen Kuhne
ddf705903e Allow 64 char HEX string PSKs in WifiSettingsUi
A check for valid PSKs in the settings UI didnt capture the 64 character
HEX string case. Added a check for it.

Test: tests/app/src/com/android/settings/wifi/WifiSettingsUiTest.java
Test: manual verification
Bug: 67492639
Change-Id: Ide738c4a67f23b613883b4a69f8264a0ffb8a0bc
2017-10-10 13:12:21 -07:00
Fan Zhang
8333260aa5 Remove DevelopmentTileConfigActivity and clean up fragment.
- The tile activity is internal to Settings and nobody should launch it
  externally, thus it doesn't need to have its own activity. Preference
  framework can launch the fragment as a SubSetting

Fixes: 67603649
Test: robotests
Change-Id: I9ba2fc55eb7f571f816ec045567f2dd2714c44e8
2017-10-10 12:12:19 -07:00
jeffreyhuang
cafce68bc2 Introduce LogdSizePreferenceControllerV2
- Create new LogdSizePreferenceControllerV2
 - Deprecate LogdSizePreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I4bc03ee8481d01e553b8a4df9f9ec03b53d4eee4
2017-10-09 16:29:15 -07:00
TreeHugger Robot
b1224431fa Merge "Hide default webview app icon in developer options" 2017-10-09 23:26:23 +00:00
TreeHugger Robot
ba7cc4e935 Merge "[Settings]Crashed when 3rd-party app call ZenModeScheduleRuleSettings directly" 2017-10-09 22:54:07 +00:00
Fan Zhang
d77ba003bd Hide default webview app icon in developer options
Change-Id: I165d0a079f247a7162b0b94f9c52a343563aa527
Fixes: 65267538
Test: robotests
2017-10-09 14:28:27 -07:00
liurong
20965328db [Settings]Crashed when 3rd-party app call ZenModeScheduleRuleSettings directly
Fix the issue that some 3rd-party apps call ZenModeScheduleRuleSettings directly
without set the extra ConditionProviderService.EXTRA_RULE_ID. It will raise the
exception and make settings crash.

Test: 1. Install the app "QuickShortcutMaker"
      2. Following the steps descripted in the issue:
         https://issuetracker.google.com/issues/37977351
      3. make ROBOTEST_FILTER="(ZenModeScheduleRuleSettingsTest)" RunSettingsRoboTests

Change-Id: Ia7de0e691eef6d0da26e629ff0c6af7006757623
Signed-off-by: liurong <liurong@xiaomi.com>
2017-10-09 14:12:17 -07:00
Jeffrey Huang
e2fc925bb3 Merge changes from topics "RefactorDevControllers", "MoveDevOptionPrefCtrl"
* changes:
  Refactor AdbPreferenceController
  Move DevOptionsPrefCtrl to SettingsLib
2017-10-09 21:09:54 +00:00
jeffreyhuang
fe537c8d84 Refactor AdbPreferenceController
- Refactor AdbPreferenceController to use
 AbstractEnableAdbPreferenceController

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: If34e2968ff8900276023e12f89d9cc86468adf7a
2017-10-09 11:50:29 -07:00
Andrew Sapperstein
95ebdd359d Merge "Update wakeup anomaly to exclude blacklisted wakeups." into oc-mr1-dev
am: 8bd54d4592

Change-Id: If099f1d66dcb83817d5b6c3e22d4ca3e550d5e71
2017-10-07 17:06:15 +00:00
TreeHugger Robot
8bd54d4592 Merge "Update wakeup anomaly to exclude blacklisted wakeups." into oc-mr1-dev 2017-10-07 17:03:32 +00:00
Andrew Sapperstein
f59cbb143c Update wakeup anomaly to exclude blacklisted wakeups.
Also disables all anomalies out of the box.

Provides the ability to ignore certain wakeups if blacklisted in
AnomalyDetectionPolicy. Compares each wakeup to the blacklist and
if it exists, does not include it in the count used to compare against
the threshold.

Change-Id: I038ca966aed5a030853b4786bc201397bf4f9b70
Merged-In: I4ef548bd0952be5f0d4e36df5698f287839d0704
Fixes: 67000019
Test: robotests
2017-10-06 21:01:21 -07:00
Andrew Sapperstein
e063427d0b Update wakeup anomaly to exclude blacklisted wakeups.
Also disables all anomalies out of the box.

Provides the ability to ignore certain wakeups if blacklisted in
AnomalyDetectionPolicy. Compares each wakeup to the blacklist and
if it exists, does not include it in the count used to compare against
the threshold.

Change-Id: I4ef548bd0952be5f0d4e36df5698f287839d0704
Fixes: 67000019
Test: robotests
2017-10-06 15:10:38 -07:00
Eric Schwarzenbach
47e2bad574 Merge "Fix "Add Network" button on SavedAccessPoints page." into oc-mr1-dev
am: 85d5d62716

Change-Id: I1cf1ab0db44816d6fe00bcde1df4da5be006119e
2017-10-06 19:19:27 +00:00
TreeHugger Robot
85d5d62716 Merge "Fix "Add Network" button on SavedAccessPoints page." into oc-mr1-dev 2017-10-06 19:10:57 +00:00
TreeHugger Robot
aa410eba1d Merge "Log cleanup: remove unnecessary logging for suggestions" 2017-10-06 18:45:58 +00:00
Jeffrey Huang
58b41c4051 Merge "Introduce SelectUsbConfigPreferenceController" 2017-10-06 16:40:21 +00:00
TreeHugger Robot
80fd58e3b6 Merge "Support suggestion UI card with a button." 2017-10-06 03:46:21 +00:00
Fan Zhang
13ce220807 Log cleanup: remove unnecessary logging for suggestions
- Remove show_suggestion logging in DashboardAdapater. Showing
  suggestion is logged inside SuggestionAdapter during onBind.
- Remove hide_suggestion logging. It's not used by anyone.
- Move SuggestionLogHelper into SuggestionFeatureProvider

Bug: 65065268
Test: robotests
Change-Id: I1e7929d739b79527d2ae01c25177676f6be6ddff
2017-10-05 18:23:57 -07:00
jeffreyhuang
33b8f3e6f8 Introduce SelectUsbConfigPreferenceController
- Create new SelectUsbConfigController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I8d6b4eb2e8a90adb7f8bdf4aeec0f5929e8165b2
2017-10-05 17:05:56 -07:00
Fan Zhang
a078526920 Support suggestion UI card with a button.
Bug: 65065268
Test: robotests
Change-Id: I24c8947e9b23a80de38b8cbd57404736a5d1660a
2017-10-05 15:44:18 -07:00
Jeffrey Huang
ba00aaa0df Merge "Introduce HdcpCheckingPreferenceController" 2017-10-05 18:21:16 +00:00
Android Build Merger (Role)
b47c4a6192 Merge "Merge "Use new no overlay flag instead app ops" into oc-mr1-dev am: 9cb867d6e3 am: 6adbad6937" 2017-10-04 21:01:47 +00:00
Jeffrey Huang
60999fa793 Merge "Introduce MockLocationAppPreferenceController" 2017-10-04 21:01:29 +00:00
Svet Ganov
9bbc0cc38a Merge "Use new no overlay flag instead app ops" into oc-mr1-dev am: 9cb867d6e3
am: 6adbad6937

Change-Id: I0b60e9cd77643f5b2a22c5d09ddb2994d28ec82a
2017-10-04 21:01:27 +00:00
Svet Ganov
6adbad6937 Merge "Use new no overlay flag instead app ops" into oc-mr1-dev
am: 9cb867d6e3

Change-Id: Iffb4b44729d42539509593590999b73763a53ab5
2017-10-04 20:53:02 +00:00
TreeHugger Robot
9cb867d6e3 Merge "Use new no overlay flag instead app ops" into oc-mr1-dev 2017-10-04 20:38:58 +00:00
Tony Mantler
964ff7aa66 Merge "Move SerialNumberPreferenceController to SettingsLib" 2017-10-04 20:30:25 +00:00
Fan Zhang
ae084747fc Merge "Display a list of feature flags" 2017-10-04 20:11:36 +00:00
jeffreyhuang
4acb1f66fd Introduce HdcpCheckingPreferenceController
- Create new HdcpCheckingPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Id6eed501ce658b55dc4ad38f7408994f70923194
2017-10-04 13:05:54 -07:00
Jeffrey Huang
1f02ca7673 Merge "Introduce BugReportPreferenceControllerV2" 2017-10-04 19:47:22 +00:00
Jeffrey Huang
20da1c4bbd Merge "Introduce ShortcutManagerThrottlingPreferenceCtrl" 2017-10-04 19:47:06 +00:00
Jeffrey Huang
3b74425df2 Merge "Introduce FileEncryptionPreferenceController" 2017-10-04 19:46:50 +00:00
Tony Mantler
2cb1c65a5a Move SerialNumberPreferenceController to SettingsLib
Bug: 67410808
Test: RunSettingsRoboTests
Change-Id: If7fefed1f012521293769eadf5d6485c12b98956
2017-10-04 10:12:41 -07:00
jeffreyhuang
1f4ebfe41e Introduce ShortcutManagerThrottlingPreferenceCtrl
- Create new ShortcutManagerThrottlingPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I5409b40b4ed7d350af34498da9a3d7d79200f69b
2017-10-03 18:09:55 -07:00
jeffreyhuang
843b4d7d0d Introduce MockLocationAppPreferenceController
- Create new MockLocationAppPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I0c306aadfbe9f10b143c63429061a7c0c244361a
2017-10-03 18:02:49 -07:00
Fan Zhang
2d1ab9a193 Display a list of feature flags
Bug: 36222960
Test: robotests
Change-Id: I31fbe7f4d42e72846aa4f025ebcf8ea8a1b6d2fd
2017-10-03 15:24:58 -07:00
TreeHugger Robot
82869360d0 Merge "Bind icon and remote views for Suggestion" 2017-10-03 22:20:03 +00:00