Commit Graph

40560 Commits

Author SHA1 Message Date
Jeffrey Huang
aded3c3bce Merge "Introduce ClearAdbKeysPreferenceController" 2017-10-03 16:48:56 +00:00
Jeffrey Huang
ecf5b81163 Merge "Introduce ResizableActivityPreferenceController" 2017-10-03 16:48:20 +00:00
Jeffrey Huang
0ad753b33a Merge "Introduce NotificationChannelWarningsPrefCtrl" 2017-10-03 16:47:48 +00:00
TreeHugger Robot
13b500297d Merge "Return false if can't find package info" 2017-10-03 00:30:35 +00:00
jeffreyhuang
97dbff233d 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
2017-10-02 17:22:43 -07:00
Jeffrey Huang
78922b8a75 Merge "Introduce BugReportInPowerPreferenceControllerV2" 2017-10-02 22:59:04 +00:00
Fan Zhang
883d8e7ed1 Return false if can't find package info
Change-Id: Iaf667e0977f60abcbf3eb76c46c46f591c00123e
Fixes: 66981347
Test: robotests
2017-10-02 15:38:07 -07:00
Eric Schwarzenbach
ac8a3f24c4 Merge "Fix "Add Network" button on SavedAccessPoints page." 2017-10-02 21:57:21 +00:00
TreeHugger Robot
fad7215cd1 Merge "Make robotest less flaky" 2017-10-02 21:46:35 +00:00
jeffreyhuang
a19a24930b 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
2017-10-02 14:10:30 -07:00
jeffreyhuang
421fee270f 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
2017-10-02 14:08:51 -07:00
Jeffrey Huang
498e883d52 Merge "Introduce VerifyAppsOverUsbPreferenceControllerV2" 2017-10-02 20:54:53 +00:00
Jeffrey Huang
f1c3e8f479 Merge "Introduce AllowAppsOnExternalPreferenceController" 2017-10-02 20:53:52 +00:00
Fan Zhang
feaa82ce8f Make robotest less flaky
Change-Id: Ic9ed1ccbb7b7f802b6a5cf915aeb96c799007a7d
Fixes: 67307841
Test: rerun robotest
2017-10-02 13:10:08 -07:00
Bill Yi
301cfcda4c Import translations. DO NOT MERGE am: 6fe50e7224 -s ours
am: 2032410de4  -s ours

Change-Id: Idba6ac65fea909285d64e6fe2f883d3e80e6b8c2
2017-10-02 19:22:06 +00:00
jeffreyhuang
abda723cc2 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
2017-10-02 12:21:14 -07:00
Bill Yi
2032410de4 Import translations. DO NOT MERGE
am: 6fe50e7224  -s ours

Change-Id: I2ac5d233d10ca35a6d8ed24b29f8eb05fe4bba9c
2017-10-02 19:09:02 +00:00
Carsten Hauge
2ba36fa491 Merge "Avoid NullPointerException when updating preference intents" am: c4b0fa5858 am: f38ed428dc am: 5d2919907b
am: 143b31959b

Change-Id: I9f2b3769658200c332a38a943f2bc1331bdae3f9
2017-10-02 18:53:32 +00:00
Jeffrey Huang
8fac8cf868 Merge "Introduce AppsNotRespondingPreferenceController" 2017-10-02 18:16:51 +00:00
Jeffrey Huang
d4ef5fc94e Merge "Introduce KeepActivitiesPreferenceController" 2017-10-02 18:16:25 +00:00
Jeffrey Huang
dd75dead9e Merge "Introduce UsbAudioRoutingPreferenceController" 2017-10-02 18:16:14 +00:00
Jeffrey Huang
748c5d6cc0 Merge "Introduce HardwareOverlaysPreferenceController" 2017-10-02 18:16:03 +00:00
Jeffrey Huang
34e3535da5 Merge "Introduce GpuViewUpdatesPreferenceController" 2017-10-02 18:15:47 +00:00
Jeffrey Huang
9e9025acde Merge "Introduce ShowLayoutBoundsPreferenceController" 2017-10-02 18:15:34 +00:00
Carsten Hauge
143b31959b Merge "Avoid NullPointerException when updating preference intents" am: c4b0fa5858 am: f38ed428dc
am: 5d2919907b

Change-Id: I542ba13fe05f1027e0199c2a57ade93c6dd0bccb
2017-10-02 18:10:49 +00:00
Carsten Hauge
5d2919907b Merge "Avoid NullPointerException when updating preference intents" am: c4b0fa5858
am: f38ed428dc

Change-Id: I3fcc041677b4d739952902076184a8fa1dd73dad
2017-10-02 18:06:32 +00:00
Carsten Hauge
f38ed428dc Merge "Avoid NullPointerException when updating preference intents"
am: c4b0fa5858

Change-Id: I403d380ebfbbb0c70fdf5b6c9ff51267a5163e6f
2017-10-02 18:03:40 +00:00
Treehugger Robot
c4b0fa5858 Merge "Avoid NullPointerException when updating preference intents" 2017-10-02 17:56:02 +00:00
Bill Yi
6fe50e7224 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: Ib580d3bc9d6b979d5da92cc4ef3f207acdfaa48e
2017-10-02 08:23:49 -07:00
Bill Yi
bb082f4720 Import translations. DO NOT MERGE
Change-Id: I3be6845a3c0c062387defa8349461b08be25df7f
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-10-02 08:12:09 -07:00
Carsten Hauge
f35cb6bc91 Avoid NullPointerException when updating preference intents
Comparisons changed on the intent action. Sometimes an account
preference intent does not have an action specified.

Fixes: 67075850
Test: manual - go to Settings > Users & accounts and tap an account.

Change-Id: I54cebbc983b55aa1487a122d37ccd5c79bbf519d
2017-10-02 02:01:49 +00:00
jeffreyhuang
7b216bae94 Introduce VerifyAppsOverUsbPreferenceControllerV2
- Create new VerifyAppsOverUsbPreferenceControllerV2
 - Deprecate VerifyAppsOverUsbPreferenceController
 - Create controller inside the DashboardFragment
 - Copy logic from VerifyAppsOverUsbPreferenceController with
 slight modifications for dashboard fragment compatibility

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I37c01cd262c9e12307ec9cbe6effc5470496550f
2017-09-29 17:51:17 -07:00
TreeHugger Robot
1e7c3f83c2 Merge "Create suggestion state provider." 2017-09-30 00:43:39 +00:00
jeffreyhuang
d07f4f80fd Introduce AllowAppsOnExternalPreferenceController
- Create new AllowAppsOnExternalPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ia8f1be0509f87ad42cf3dc640fa711cdec07698d
2017-09-29 16:27:56 -07:00
jeffreyhuang
1bb0091d94 Introduce AppsNotRespondingPreferenceController
- Create new AppsNotRespondingPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I9cf9a19b59bf21d6aa0205377025f82ed21b7e51
2017-09-29 16:25:39 -07:00
jeffreyhuang
7e81c84a8c Introduce UsbAudioRoutingPreferenceController
- Create new UsbAudioRoutingPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ie806d509e3df4515cccbaf56c259ae55c3e2ab61
2017-09-29 15:47:47 -07:00
jeffreyhuang
86e6304154 Introduce HardwareOverlaysPreferenceController
- Create new HardwareOverlaysPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller
 - Added ShadowParcel to help with testing
 HardwareOverlaysPreferenceController and
 ShowSurfaceUpdatesPreferenceController

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ib6b9679f2a2d2ec84f91da5ac0b68cb2b21eea72
2017-09-29 15:47:00 -07:00
jeffreyhuang
a02a9886c0 Introduce GpuViewUpdatesPreferenceController
- Create new GpuViewUpdatesPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller
 - Fix a typo in preference naming

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ieff20634238900137acc1524edb6fd0d4bfce894
2017-09-29 15:45:54 -07:00
jeffreyhuang
7cf6ba2aab Introduce ShowLayoutBoundsPreferenceController
- Create new ShowLayoutBoundsPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ie7bb26675f4dcedbff9607a2c4e4f5bee0343463
2017-09-29 15:43:42 -07:00
Fan Zhang
2985a0775d Create suggestion state provider.
- The provider now handles isSuggestionComplete check
- Remove SuggestionChecks class.

Bug: 65065268
Test: robotests
Change-Id: Id45d67d4a5146cc023f7fad7bb292b4c1c14a782
2017-09-29 15:42:20 -07:00
Jeffrey Huang
5ae503b383 Merge "Introduce StrictModePreferenceController" 2017-09-29 22:35:55 +00:00
TreeHugger Robot
a3fd9a16e5 Merge "Move code from SuggestionChecks to FeatureProvider" 2017-09-29 20:54:59 +00:00
Jeffrey Huang
d1e65e73ce Merge "Introduce ForceMsaaPreferenceController" 2017-09-29 20:50:36 +00:00
Jeffrey Huang
1f381ffc99 Merge "Introduce HardwareLayersUpdatesPreferenceCtrl" 2017-09-29 20:50:05 +00:00
Jeffrey Huang
76a2128fc0 Merge "Introduce ForceGpuRenderingPreferenceController" 2017-09-29 20:49:46 +00:00
Jeffrey Huang
1b1e66d61a Merge "Introduce RtlLayoutPreferenceController" 2017-09-29 20:49:19 +00:00
Jeffrey Huang
65103007c8 Merge "Fix a bug in show surface updates" 2017-09-29 20:48:57 +00:00
jeffreyhuang
99312bc947 Introduce StrictModePreferenceController
- Create new StrictModePreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I28d70fd5c82de2427747625b5f06f79d3808a145
2017-09-29 13:46:57 -07:00
jeffreyhuang
28620a136f Introduce KeepActivitiesPreferenceController
- Create new KeepActivitiesPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I9e15d285eee51164dd5c3a07c4f2069bf4d73383
2017-09-29 13:43:52 -07:00
songkailun
3a33b00ed1 Merge "Fix wrong format in AndroidManifest.xml" am: de795d12d1 am: 39ddac51b6 am: 109d0bafd4
am: 806af289e8

Change-Id: I5ff0ee96f36cc1ab72333879fa92a798bf63a2be
2017-09-29 19:59:16 +00:00