OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoMerge "Fix Settings crash when activity is null"
TreeHugger Robot [Tue, 10 Oct 2017 20:35:48 +0000 (20:35 +0000)]
Merge "Fix Settings crash when activity is null"

6 years agoMerge "Alphabetically sort special access setting menus."
TreeHugger Robot [Tue, 10 Oct 2017 18:48:48 +0000 (18:48 +0000)]
Merge "Alphabetically sort special access setting menus."

6 years agoFix Settings crash when activity is null
songkailun [Wed, 5 Jul 2017 11:03:05 +0000 (19:03 +0800)]
Fix Settings crash when activity is null

in ManageApplications, if getActivity is null, it will cause crash
because in HelpUtils#prepareHelpMenuItem it will call activity's
getString method.

Test: manual
Change-Id: I4c9cf985e94192a936d195ea4279ec1d0f22eb10
Signed-off-by: songkailun <songkailun@xiaomi.com>
6 years agoMerge "Adds a Util.setSafeIcon() function used to avoid crashes."
TreeHugger Robot [Tue, 10 Oct 2017 17:39:31 +0000 (17:39 +0000)]
Merge "Adds a Util.setSafeIcon() function used to avoid crashes."

6 years agoAdds a Util.setSafeIcon() function used to avoid crashes.
Felipe Leme [Sat, 16 Sep 2017 01:16:21 +0000 (18:16 -0700)]
Adds a Util.setSafeIcon() function used to avoid crashes.

There are many places on Settings that loads an icon provided by an application,
and if the icon is too big it crashes Settings.

This CL creates a helper method used to set an icon in a safe way, and
uses it in a few places (but most likely not all of them).

Bug: 65739885
Test: manual verification with an app providing a 2MB png

Change-Id: Iae2becb6d0ec8893328d9ef1de618f9bd12fa4a0

6 years agoMerge "Add left padding to misc pages"
TreeHugger Robot [Tue, 10 Oct 2017 00:06:14 +0000 (00:06 +0000)]
Merge "Add left padding to misc pages"

6 years agoMerge "Move summary_empty string to settingslib"
TreeHugger Robot [Mon, 9 Oct 2017 23:34:59 +0000 (23:34 +0000)]
Merge "Move summary_empty string to settingslib"

6 years agoMerge "Hide default webview app icon in developer options"
TreeHugger Robot [Mon, 9 Oct 2017 23:26:23 +0000 (23:26 +0000)]
Merge "Hide default webview app icon in developer options"

6 years agoMerge "[Settings]Crashed when 3rd-party app call ZenModeScheduleRuleSettings directly"
TreeHugger Robot [Mon, 9 Oct 2017 22:54:07 +0000 (22:54 +0000)]
Merge "[Settings]Crashed when 3rd-party app call ZenModeScheduleRuleSettings directly"

6 years agoMerge "Fingerprint enrolling icon should not overlap text"
Kevin Chyn [Mon, 9 Oct 2017 22:25:29 +0000 (22:25 +0000)]
Merge "Fingerprint enrolling icon should not overlap text"

6 years agoAlphabetically sort special access setting menus.
Fan Zhang [Mon, 9 Oct 2017 22:18:15 +0000 (15:18 -0700)]
Alphabetically sort special access setting menus.

Change-Id: I8e2a0a37995438edf12367dd27b6d7a65fb704c7
Fixes: 36077121
Test: visual

6 years agoAdd left padding to misc pages
Fan Zhang [Mon, 9 Oct 2017 22:11:42 +0000 (15:11 -0700)]
Add left padding to misc pages

Change-Id: I6349672e92d170564212679d58cdbfe9991005a2
Fixes: 36459450
Test: visual

6 years agoHide default webview app icon in developer options
Fan Zhang [Mon, 9 Oct 2017 21:27:30 +0000 (14:27 -0700)]
Hide default webview app icon in developer options

Change-Id: I165d0a079f247a7162b0b94f9c52a343563aa527
Fixes: 65267538
Test: robotests

6 years ago[Settings]Crashed when 3rd-party app call ZenModeScheduleRuleSettings directly
liurong [Thu, 4 May 2017 10:31:35 +0000 (18:31 +0800)]
[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>
6 years agoMerge changes from topics "RefactorDevControllers", "MoveDevOptionPrefCtrl"
Jeffrey Huang [Mon, 9 Oct 2017 21:09:54 +0000 (21:09 +0000)]
Merge changes from topics "RefactorDevControllers", "MoveDevOptionPrefCtrl"

* changes:
  Refactor AdbPreferenceController
  Move DevOptionsPrefCtrl to SettingsLib

6 years agoMove summary_empty string to settingslib
Fan Zhang [Mon, 9 Oct 2017 20:53:45 +0000 (13:53 -0700)]
Move summary_empty string to settingslib

Bug: 65612375
Test: rebuild
Change-Id: Ib55e66c02267b9419e92885973e0d9e3287959b7

6 years agoFingerprint enrolling icon should not overlap text
Kevin Chyn [Mon, 9 Oct 2017 19:03:31 +0000 (12:03 -0700)]
Fingerprint enrolling icon should not overlap text

Fixes: 67369609

Test: manual test of enrolling with combinations of multi-window
      and text/display sizes

Change-Id: I163af87c69a51b0c91778611afa9e80960231c6a

6 years agoRefactor AdbPreferenceController
jeffreyhuang [Mon, 9 Oct 2017 18:15:55 +0000 (11:15 -0700)]
Refactor AdbPreferenceController

 - Refactor AdbPreferenceController to use
 AbstractEnableAdbPreferenceController

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: If34e2968ff8900276023e12f89d9cc86468adf7a

6 years agoMove DevOptionsPrefCtrl to SettingsLib
jeffreyhuang [Fri, 6 Oct 2017 18:37:56 +0000 (11:37 -0700)]
Move DevOptionsPrefCtrl to SettingsLib

 - Move DeveloperOptionsPreferenceController

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ie434d479d8d3f7527ffce54f241ac2e090e0fc44

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 6ed9a78922 -s ours
Bill Yi [Sun, 8 Oct 2017 07:01:44 +0000 (07:01 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 6ed9a78922  -s ours
am: e81904ece6  -s ours

Change-Id: Ic638e56f8f312068875245a2074c20c4b25206d5

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Sun, 8 Oct 2017 06:59:18 +0000 (06:59 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: 6ed9a78922  -s ours

Change-Id: I1d35b06b119081d46680035c32858572a8acad35

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Sun, 8 Oct 2017 06:57:28 +0000 (06:57 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 8 Oct 2017 06:43:56 +0000 (06:43 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 8 Oct 2017 02:13:23 +0000 (19:13 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I8e31d776f5036724722d7578be51651b5199e419

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 8 Oct 2017 01:49:24 +0000 (18:49 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0867e4dddbb04ecc548a800d511d59aeb1ec7ca7
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "Update wakeup anomaly to exclude blacklisted wakeups." into oc-mr1-dev am...
Andrew Sapperstein [Sat, 7 Oct 2017 17:10:12 +0000 (17:10 +0000)]
Merge "Update wakeup anomaly to exclude blacklisted wakeups." into oc-mr1-dev am: 8bd54d4592
am: 95ebdd359d  -s ours

Change-Id: I21baaf3035fc4efcd9498ed28368da579e24b3f0

6 years agoMerge "Update wakeup anomaly to exclude blacklisted wakeups." into oc-mr1-dev
Andrew Sapperstein [Sat, 7 Oct 2017 17:06:15 +0000 (17:06 +0000)]
Merge "Update wakeup anomaly to exclude blacklisted wakeups." into oc-mr1-dev
am: 8bd54d4592

Change-Id: If099f1d66dcb83817d5b6c3e22d4ca3e550d5e71

6 years agoMerge "Update wakeup anomaly to exclude blacklisted wakeups." into oc-mr1-dev
TreeHugger Robot [Sat, 7 Oct 2017 17:03:32 +0000 (17:03 +0000)]
Merge "Update wakeup anomaly to exclude blacklisted wakeups." into oc-mr1-dev

6 years agoUpdate wakeup anomaly to exclude blacklisted wakeups.
Andrew Sapperstein [Fri, 6 Oct 2017 01:19:32 +0000 (18:19 -0700)]
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

6 years agoMerge "Update wakeup anomaly to exclude blacklisted wakeups."
TreeHugger Robot [Sat, 7 Oct 2017 00:08:25 +0000 (00:08 +0000)]
Merge "Update wakeup anomaly to exclude blacklisted wakeups."

6 years agoUpdate wakeup anomaly to exclude blacklisted wakeups.
Andrew Sapperstein [Fri, 6 Oct 2017 01:19:32 +0000 (18:19 -0700)]
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

6 years agoMerge "Fix a grammar issue in string"
TreeHugger Robot [Fri, 6 Oct 2017 20:51:33 +0000 (20:51 +0000)]
Merge "Fix a grammar issue in string"

6 years agoMerge "Fix "Add Network" button on SavedAccessPoints page." into oc-mr1-dev am: 85d5d...
Eric Schwarzenbach [Fri, 6 Oct 2017 20:02:43 +0000 (20:02 +0000)]
Merge "Fix "Add Network" button on SavedAccessPoints page." into oc-mr1-dev am: 85d5d62716
am: 47e2bad574  -s ours

Change-Id: Iebd83628f4aaac64b18e18434c84304f89076e09

6 years agoMerge "Fix "Add Network" button on SavedAccessPoints page." into oc-mr1-dev
Eric Schwarzenbach [Fri, 6 Oct 2017 19:19:27 +0000 (19:19 +0000)]
Merge "Fix "Add Network" button on SavedAccessPoints page." into oc-mr1-dev
am: 85d5d62716

Change-Id: I1cf1ab0db44816d6fe00bcde1df4da5be006119e

6 years agoMerge "Fix "Add Network" button on SavedAccessPoints page." into oc-mr1-dev
TreeHugger Robot [Fri, 6 Oct 2017 19:10:57 +0000 (19:10 +0000)]
Merge "Fix "Add Network" button on SavedAccessPoints page." into oc-mr1-dev

6 years agoMerge "Log cleanup: remove unnecessary logging for suggestions"
TreeHugger Robot [Fri, 6 Oct 2017 18:45:58 +0000 (18:45 +0000)]
Merge "Log cleanup: remove unnecessary logging for suggestions"

6 years agoFix a grammar issue in string
Fan Zhang [Fri, 6 Oct 2017 18:39:44 +0000 (11:39 -0700)]
Fix a grammar issue in string

Change-Id: I7ecaefc69d57d07061c6f01359ea6680b64633c3
Fixes: 67415408
Test: visual

6 years agoAdd space around the data usage warning spinner. am: de603ea469
Doris Ling [Fri, 6 Oct 2017 17:28:04 +0000 (17:28 +0000)]
Add space around the data usage warning spinner. am: de603ea469
am: f6094b6964

Change-Id: Id38553ad316a99eba4d04654629cbe4741dec2e3

6 years agoAdd space around the data usage warning spinner.
Doris Ling [Fri, 6 Oct 2017 17:25:29 +0000 (17:25 +0000)]
Add space around the data usage warning spinner.
am: de603ea469

Change-Id: I95d0b90b7bc44a06ee6d30ec173cfcbf1496cd1f

6 years agoMerge "Introduce SelectUsbConfigPreferenceController"
Jeffrey Huang [Fri, 6 Oct 2017 16:40:21 +0000 (16:40 +0000)]
Merge "Introduce SelectUsbConfigPreferenceController"

6 years agoMerge "Support suggestion UI card with a button."
TreeHugger Robot [Fri, 6 Oct 2017 03:46:21 +0000 (03:46 +0000)]
Merge "Support suggestion UI card with a button."

6 years agoLog cleanup: remove unnecessary logging for suggestions
Fan Zhang [Fri, 6 Oct 2017 00:50:14 +0000 (17:50 -0700)]
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

6 years agoIntroduce SelectUsbConfigPreferenceController
jeffreyhuang [Fri, 6 Oct 2017 00:05:56 +0000 (17:05 -0700)]
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

6 years agoSupport suggestion UI card with a button.
Fan Zhang [Thu, 5 Oct 2017 21:04:50 +0000 (14:04 -0700)]
Support suggestion UI card with a button.

Bug: 65065268
Test: robotests
Change-Id: I24c8947e9b23a80de38b8cbd57404736a5d1660a

6 years agoMerge "Introduce HdcpCheckingPreferenceController"
Jeffrey Huang [Thu, 5 Oct 2017 18:21:16 +0000 (18:21 +0000)]
Merge "Introduce HdcpCheckingPreferenceController"

6 years agoAdd space around the data usage warning spinner.
Doris Ling [Wed, 4 Oct 2017 23:59:28 +0000 (16:59 -0700)]
Add space around the data usage warning spinner.

Use a custom item layout for the data usage warning unit selection
spinner to make the touch target bigger.

Change-Id: I2d73dc3ab4c99cea8f8c791c8c1346240456d6aa
Fixes: 66414539
Test: visual

6 years agoMerge "Merge "Use new no overlay flag instead app ops" into oc-mr1-dev am: 9cb867d6e3...
Android Build Merger (Role) [Wed, 4 Oct 2017 21:01:47 +0000 (21:01 +0000)]
Merge "Merge "Use new no overlay flag instead app ops" into oc-mr1-dev am: 9cb867d6e3 am: 6adbad6937"

6 years agoMerge "Introduce MockLocationAppPreferenceController"
Jeffrey Huang [Wed, 4 Oct 2017 21:01:29 +0000 (21:01 +0000)]
Merge "Introduce MockLocationAppPreferenceController"

6 years agoMerge "Use new no overlay flag instead app ops" into oc-mr1-dev am: 9cb867d6e3
Svet Ganov [Wed, 4 Oct 2017 21:01:27 +0000 (21:01 +0000)]
Merge "Use new no overlay flag instead app ops" into oc-mr1-dev am: 9cb867d6e3
am: 6adbad6937

Change-Id: I0b60e9cd77643f5b2a22c5d09ddb2994d28ec82a

6 years agoMerge "Use new no overlay flag instead app ops" into oc-mr1-dev
Svet Ganov [Wed, 4 Oct 2017 20:53:02 +0000 (20:53 +0000)]
Merge "Use new no overlay flag instead app ops" into oc-mr1-dev
am: 9cb867d6e3

Change-Id: Iffb4b44729d42539509593590999b73763a53ab5

6 years agoMerge "Use new no overlay flag instead app ops" into oc-mr1-dev
TreeHugger Robot [Wed, 4 Oct 2017 20:38:58 +0000 (20:38 +0000)]
Merge "Use new no overlay flag instead app ops" into oc-mr1-dev

6 years agoMerge "Move SerialNumberPreferenceController to SettingsLib"
Tony Mantler [Wed, 4 Oct 2017 20:30:25 +0000 (20:30 +0000)]
Merge "Move SerialNumberPreferenceController to SettingsLib"

6 years agoMerge "Display a list of feature flags"
Fan Zhang [Wed, 4 Oct 2017 20:11:36 +0000 (20:11 +0000)]
Merge "Display a list of feature flags"

6 years agoIntroduce HdcpCheckingPreferenceController
jeffreyhuang [Tue, 3 Oct 2017 22:55:21 +0000 (15:55 -0700)]
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

6 years agoMerge "Introduce BugReportPreferenceControllerV2"
Jeffrey Huang [Wed, 4 Oct 2017 19:47:22 +0000 (19:47 +0000)]
Merge "Introduce BugReportPreferenceControllerV2"

6 years agoMerge "Introduce ShortcutManagerThrottlingPreferenceCtrl"
Jeffrey Huang [Wed, 4 Oct 2017 19:47:06 +0000 (19:47 +0000)]
Merge "Introduce ShortcutManagerThrottlingPreferenceCtrl"

6 years agoMerge "Introduce FileEncryptionPreferenceController"
Jeffrey Huang [Wed, 4 Oct 2017 19:46:50 +0000 (19:46 +0000)]
Merge "Introduce FileEncryptionPreferenceController"

6 years agoMerge "Update support to not need dialog fragment" into oc-mr1-dev am: 47dd955fad
Salvador Martinez [Wed, 4 Oct 2017 19:26:15 +0000 (19:26 +0000)]
Merge "Update support to not need dialog fragment" into oc-mr1-dev am: 47dd955fad
am: f110a3c3ed

Change-Id: I3454b9b5678ffd27e7abc2112e9fcfb4a64e43b0

6 years agoMerge "Update support to not need dialog fragment" into oc-mr1-dev
Salvador Martinez [Wed, 4 Oct 2017 18:42:12 +0000 (18:42 +0000)]
Merge "Update support to not need dialog fragment" into oc-mr1-dev
am: 47dd955fad

Change-Id: I4863722709ad5d8b2adb7bf75ef89d3fd6c3cb3f

6 years agoMerge "Update support to not need dialog fragment" into oc-mr1-dev
TreeHugger Robot [Wed, 4 Oct 2017 18:35:32 +0000 (18:35 +0000)]
Merge "Update support to not need dialog fragment" into oc-mr1-dev

6 years agoMove SerialNumberPreferenceController to SettingsLib
Tony Mantler [Tue, 3 Oct 2017 22:45:06 +0000 (15:45 -0700)]
Move SerialNumberPreferenceController to SettingsLib

Bug: 67410808
Test: RunSettingsRoboTests
Change-Id: If7fefed1f012521293769eadf5d6485c12b98956

6 years agoIntroduce ShortcutManagerThrottlingPreferenceCtrl
jeffreyhuang [Tue, 3 Oct 2017 19:28:41 +0000 (12:28 -0700)]
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

6 years agoIntroduce MockLocationAppPreferenceController
jeffreyhuang [Wed, 4 Oct 2017 01:02:49 +0000 (18:02 -0700)]
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

6 years agoMerge "Fix logic error / possible NPE in AuthenticationSidecar"
Kevin Chyn [Wed, 4 Oct 2017 00:31:28 +0000 (00:31 +0000)]
Merge "Fix logic error / possible NPE in AuthenticationSidecar"

6 years agoMerge "Add back developer option for freeform window support."
Bryce Lee [Tue, 3 Oct 2017 23:27:53 +0000 (23:27 +0000)]
Merge "Add back developer option for freeform window support."

6 years agoDisplay a list of feature flags
Fan Zhang [Tue, 3 Oct 2017 18:16:44 +0000 (11:16 -0700)]
Display a list of feature flags

Bug: 36222960
Test: robotests
Change-Id: I31fbe7f4d42e72846aa4f025ebcf8ea8a1b6d2fd

6 years agoMerge "Bind icon and remote views for Suggestion"
TreeHugger Robot [Tue, 3 Oct 2017 22:20:03 +0000 (22:20 +0000)]
Merge "Bind icon and remote views for Suggestion"

6 years agoIntroduce BugReportPreferenceControllerV2
jeffreyhuang [Tue, 3 Oct 2017 21:53:27 +0000 (14:53 -0700)]
Introduce BugReportPreferenceControllerV2

 - Create new BugReportPreferenceControllerV2
 - Deprecated BugReportPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ic932bdd8c05f75af5a9390fb4372fb4bbc7d2340

6 years agoAdd back developer option for freeform window support.
Bryce Lee [Thu, 28 Sep 2017 23:07:13 +0000 (16:07 -0700)]
Add back developer option for freeform window support.

Bug: 64144308
Test: manual
Change-Id: I9eb28b03ebed17528d469d0c1fcdf3a6d0094a37

6 years agoMerge "Introduce LocalBackupPasswordPreferenceController"
TreeHugger Robot [Tue, 3 Oct 2017 21:11:30 +0000 (21:11 +0000)]
Merge "Introduce LocalBackupPasswordPreferenceController"

6 years agoMerge "Explicitly set ENABLED state when a user enables an app."
TreeHugger Robot [Tue, 3 Oct 2017 20:56:24 +0000 (20:56 +0000)]
Merge "Explicitly set ENABLED state when a user enables an app."

6 years agoMerge "Introduce WebViewAppPreferenceControllerV2"
TreeHugger Robot [Tue, 3 Oct 2017 20:51:08 +0000 (20:51 +0000)]
Merge "Introduce WebViewAppPreferenceControllerV2"

6 years agoMerge "Make WifiTracker lifecycle aware"
TreeHugger Robot [Tue, 3 Oct 2017 20:21:46 +0000 (20:21 +0000)]
Merge "Make WifiTracker lifecycle aware"

6 years agoIntroduce FileEncryptionPreferenceController
jeffreyhuang [Tue, 3 Oct 2017 18:44:21 +0000 (11:44 -0700)]
Introduce FileEncryptionPreferenceController

 - Create new FileEncryptionPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I19f68fa719442bad03fee7ab3939510095257dee

6 years agoUpdate support to not need dialog fragment
Salvador Martinez [Tue, 3 Oct 2017 01:17:29 +0000 (18:17 -0700)]
Update support to not need dialog fragment

This CL update support to not need the dialog fragment.

Test: robotests
Bug: 65552746
Change-Id: Ic4a21f05f04384795f4e616c2d6d914fc7dd3510

6 years agoIntroduce LocalBackupPasswordPreferenceController
jeffreyhuang [Mon, 2 Oct 2017 21:26:56 +0000 (14:26 -0700)]
Introduce LocalBackupPasswordPreferenceController

 - Create new LocalBackupPasswordPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I86d0d2402e8092e9f03498254ae4e3bf7bb9bf3d

6 years agoMerge "Fix ANR issue caused by sharedpref commit() on suggestion event logging" into...
Soroosh Mariooryad [Tue, 3 Oct 2017 18:38:27 +0000 (18:38 +0000)]
Merge "Fix ANR issue caused by sharedpref commit() on suggestion event logging" into oc-mr1-dev am: 0193e69597
am: 73679c124f

Change-Id: I25949dd1c2bdf31ec07cd3b963ac6b693cf3a0e4

6 years agoMerge "Fix ANR issue caused by sharedpref commit() on suggestion event logging" into...
Soroosh Mariooryad [Tue, 3 Oct 2017 18:36:05 +0000 (18:36 +0000)]
Merge "Fix ANR issue caused by sharedpref commit() on suggestion event logging" into oc-mr1-dev
am: 0193e69597

Change-Id: I5c65bd4965fa66150b3537e7654834630340ed5f

6 years agoMerge "Fix ANR issue caused by sharedpref commit() on suggestion event logging" into...
TreeHugger Robot [Tue, 3 Oct 2017 18:31:56 +0000 (18:31 +0000)]
Merge "Fix ANR issue caused by sharedpref commit() on suggestion event logging" into oc-mr1-dev

6 years agoBind icon and remote views for Suggestion
Fan Zhang [Tue, 26 Sep 2017 22:57:25 +0000 (15:57 -0700)]
Bind icon and remote views for Suggestion

Bug: 65065268
Test: robotests
Change-Id: I181a9e092c56f4e45addfc1cde166fb7dac7becd

6 years agoIntroduce WebViewAppPreferenceControllerV2
jeffreyhuang [Tue, 3 Oct 2017 01:18:28 +0000 (18:18 -0700)]
Introduce WebViewAppPreferenceControllerV2

 - Create new WebViewAppPreferenceControllerV2
 - Deprecate WebViewAppPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I45bb7beb98ef9c7a998f64e81d180613c795ed3a

6 years agoMerge "Introduce ClearAdbKeysPreferenceController"
Jeffrey Huang [Tue, 3 Oct 2017 16:48:56 +0000 (16:48 +0000)]
Merge "Introduce ClearAdbKeysPreferenceController"

6 years agoMerge "Introduce ResizableActivityPreferenceController"
Jeffrey Huang [Tue, 3 Oct 2017 16:48:20 +0000 (16:48 +0000)]
Merge "Introduce ResizableActivityPreferenceController"

6 years agoMerge "Introduce NotificationChannelWarningsPrefCtrl"
Jeffrey Huang [Tue, 3 Oct 2017 16:47:48 +0000 (16:47 +0000)]
Merge "Introduce NotificationChannelWarningsPrefCtrl"

6 years agoUse new no overlay flag instead app ops
Svet Ganov [Tue, 3 Oct 2017 01:58:08 +0000 (18:58 -0700)]
Use new no overlay flag instead app ops

Test: updated DrawOverlayDetailsTest passes

bug:66936547

Change-Id: I7c17c95a2b44fd2ffd593a6eb03a16be034e9192

6 years agoFix logic error / possible NPE in AuthenticationSidecar
Kevin Chyn [Tue, 3 Oct 2017 02:02:32 +0000 (19:02 -0700)]
Fix logic error / possible NPE in AuthenticationSidecar

Fixes: 67329646

Test: manual
Change-Id: Ifec339dbc9112c0a1e1ad6595deaab4ec328d365

6 years agoMerge "Return false if can't find package info"
TreeHugger Robot [Tue, 3 Oct 2017 00:30:35 +0000 (00:30 +0000)]
Merge "Return false if can't find package info"

6 years agoIntroduce ClearAdbKeysPreferenceController
jeffreyhuang [Mon, 2 Oct 2017 22:54:56 +0000 (15:54 -0700)]
Introduce ClearAdbKeysPreferenceController

 - Create new ClearAdbKeysPreferenceController
 - Added ClearAdbKeysWarningDialog
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ia12bfee753f2c9222e6d833b1fb7e099f3602fdf

6 years agoMerge "Introduce BugReportInPowerPreferenceControllerV2"
Jeffrey Huang [Mon, 2 Oct 2017 22:59:04 +0000 (22:59 +0000)]
Merge "Introduce BugReportInPowerPreferenceControllerV2"

6 years agoReturn false if can't find package info
Fan Zhang [Mon, 2 Oct 2017 22:21:33 +0000 (15:21 -0700)]
Return false if can't find package info

Change-Id: Iaf667e0977f60abcbf3eb76c46c46f591c00123e
Fixes: 66981347
Test: robotests

6 years agoFix "Add Network" button on SavedAccessPoints page.
Eric Schwarzenbach [Wed, 20 Sep 2017 23:34:23 +0000 (16:34 -0700)]
Fix "Add Network" button on SavedAccessPoints page.

The old onSubmit was a no-op. It now correctly pipes onSubmit to
WifiManager#save() with the new WifiConfiguration. On successful save,
it displays the new network in the list, and on failure, it displays a
toast indicating that the save action failed. Adds a test for the
WifiDialog behaviors on this page.

Bug: 66177765
Test: make RunSettingsRoboTests, manual - tested with Wifi enabled and
disabled, and with networks that were visible and not.
Change-Id: I27446aa49bc9efaf1ea1d6c6158928b62ce01ba2
Merged-In: I27446aa49bc9efaf1ea1d6c6158928b62ce01ba2

6 years agoMerge "Fix "Add Network" button on SavedAccessPoints page."
Eric Schwarzenbach [Mon, 2 Oct 2017 21:57:21 +0000 (21:57 +0000)]
Merge "Fix "Add Network" button on SavedAccessPoints page."

6 years agoMerge "Make robotest less flaky"
TreeHugger Robot [Mon, 2 Oct 2017 21:46:35 +0000 (21:46 +0000)]
Merge "Make robotest less flaky"

6 years agoIntroduce ResizableActivityPreferenceController
jeffreyhuang [Mon, 2 Oct 2017 20:03:34 +0000 (13:03 -0700)]
Introduce ResizableActivityPreferenceController

 - Create new ResizableActivityPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I401db1fe3a051ee70ab9afe2bf8c377b3b0b4e2f

6 years agoIntroduce NotificationChannelWarningsPrefCtrl
jeffreyhuang [Mon, 2 Oct 2017 19:46:39 +0000 (12:46 -0700)]
Introduce NotificationChannelWarningsPrefCtrl

 - Create new NotificationChannelWarningsPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I232b24ee0505eae254bd1d43b7d91ab8860285e2

6 years agoMerge "Introduce VerifyAppsOverUsbPreferenceControllerV2"
Jeffrey Huang [Mon, 2 Oct 2017 20:54:53 +0000 (20:54 +0000)]
Merge "Introduce VerifyAppsOverUsbPreferenceControllerV2"

6 years agoMerge "Introduce AllowAppsOnExternalPreferenceController"
Jeffrey Huang [Mon, 2 Oct 2017 20:53:52 +0000 (20:53 +0000)]
Merge "Introduce AllowAppsOnExternalPreferenceController"

6 years agoMake robotest less flaky
Fan Zhang [Mon, 2 Oct 2017 20:10:08 +0000 (13:10 -0700)]
Make robotest less flaky

Change-Id: Ic9ed1ccbb7b7f802b6a5cf915aeb96c799007a7d
Fixes: 67307841
Test: rerun robotest

6 years agoImport translations. DO NOT MERGE am: 6fe50e7224 -s ours
Bill Yi [Mon, 2 Oct 2017 19:22:06 +0000 (19:22 +0000)]
Import translations. DO NOT MERGE am: 6fe50e7224  -s ours
am: 2032410de4  -s ours

Change-Id: Idba6ac65fea909285d64e6fe2f883d3e80e6b8c2

6 years agoIntroduce BugReportInPowerPreferenceControllerV2
jeffreyhuang [Mon, 2 Oct 2017 17:12:06 +0000 (10:12 -0700)]
Introduce BugReportInPowerPreferenceControllerV2

 - Create new BugReportInPowerPreferenceControllerV2
 - Deprecate BugReportInPowerPreferenceController
 - Create controller inside the DashboardFragment
 - Copy logic from BugReportInPowerPreferenceController with
 slight modifications for dashboard fragment compatibility

Bug: 34203528
Test: make RunSettingsRoboTests -j40# Please enter the commit message for your changes. Lines starting
Change-Id: I8ec0c84fa9c4e59aca48586cc081822d78d8c0d5