Commit Graph

3482 Commits

Author SHA1 Message Date
Glen Kuhne
c98eee331a Merge "Allow 64 char HEX string PSKs in WifiSettingsUi" into oc-mr1-dev am: 85f59ff42d
am: 91aeed6f55

Change-Id: I65d9d59816f9a1b248bfa9bcf7e801260f60bc01
2017-10-12 19:14:50 +00:00
Glen Kuhne
91aeed6f55 Merge "Allow 64 char HEX string PSKs in WifiSettingsUi" into oc-mr1-dev
am: 85f59ff42d

Change-Id: I0812fdee8ad859cb7efb56f980de4ca00ce3f5a5
2017-10-12 19:02:55 +00:00
TreeHugger Robot
85f59ff42d Merge "Allow 64 char HEX string PSKs in WifiSettingsUi" into oc-mr1-dev 2017-10-12 18:54:43 +00:00
Jeffrey Huang
a48e75ae1d Merge "Introduce TransitionAnimationScalePreferenceCtrl" 2017-10-12 16:51:56 +00:00
Beverly Tai
f424c3fa90 Merge "Replaced dnd priority setting page w/ behavior." 2017-10-12 13:20:41 +00:00
jeffreyhuang
93c41ba6b5 Introduce TransitionAnimationScalePreferenceCtrl
- Create new TransitionAnimationScalePreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I521561c21cc572f311d3c2699fc877eec693ca3a
2017-10-11 16:43:49 -07:00
TreeHugger Robot
61aba47c87 Merge "Format data usage and data limit consistently." 2017-10-11 23:30:18 +00:00
Fan Zhang
cbc4218b9b Format data usage and data limit consistently.
The usage formatter's format flag is change to match data limt flag.

Change-Id: I37d3c8c7bc67a918c793f4799e060010d269834d
Fixes: 63581756
Test: robotests
2017-10-11 15:01:10 -07:00
Beverly
ad898e6928 Replaced dnd priority setting page w/ behavior.
Bug: 63077372
Test: manual, make -j20 RunSettingsRoboTests
Change-Id: I79fd431da0cbed1407f0dab38e64f0bdb3ff3feb
2017-10-11 17:55:00 -04:00
Jeffrey Huang
379ba7ffff Merge "Introduce SimulateColorSpacePreferenceController" 2017-10-11 20:05:00 +00:00
Jeffrey Huang
c856ff87e2 Merge "Introduce AnimatorDurationScalePreferenceCtrl" 2017-10-11 20:04:43 +00:00
Jeffrey Huang
0cbc7f6ccc Merge "Introduce BluetoothAudioSampleRatePreferenceCtrl" 2017-10-11 20:04:28 +00:00
Jeffrey Huang
82102a2875 Merge "Introduce LogPersistPreferenceControllerV2" 2017-10-11 20:02:22 +00:00
Jeffrey Huang
2b2653da43 Merge "Introduce DebugGpuOverdrawPreferenceController" 2017-10-11 17:36:56 +00:00
Jeffrey Huang
dd9946ccb4 Merge "Introduce WindowAnimationScalePreferenceController" 2017-10-11 17:36:20 +00:00
jeffreyhuang
d229c25136 Introduce BluetoothAudioSampleRatePreferenceCtrl
- Create new BluetoothAudioSampleRatePreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I1cb1f431a94a8665c8b0f11f3d981e58bf733851
2017-10-10 18:10:34 -07:00
TreeHugger Robot
d61d1a4993 Merge "Refactor status page to DashboardFragment" 2017-10-11 01:00:50 +00:00
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