OSDN Git Service
Jeffrey Huang [Wed, 4 Oct 2017 21:01:29 +0000 (21:01 +0000)]
Merge "Introduce MockLocationAppPreferenceController"
Tony Mantler [Wed, 4 Oct 2017 20:30:25 +0000 (20:30 +0000)]
Merge "Move SerialNumberPreferenceController to SettingsLib"
Fan Zhang [Wed, 4 Oct 2017 20:11:36 +0000 (20:11 +0000)]
Merge "Display a list of feature flags"
Jeffrey Huang [Wed, 4 Oct 2017 19:47:22 +0000 (19:47 +0000)]
Merge "Introduce BugReportPreferenceControllerV2"
Jeffrey Huang [Wed, 4 Oct 2017 19:47:06 +0000 (19:47 +0000)]
Merge "Introduce ShortcutManagerThrottlingPreferenceCtrl"
Jeffrey Huang [Wed, 4 Oct 2017 19:46:50 +0000 (19:46 +0000)]
Merge "Introduce FileEncryptionPreferenceController"
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
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
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
Tony Mantler [Tue, 3 Oct 2017 22:45:06 +0000 (15:45 -0700)]
Move SerialNumberPreferenceController to SettingsLib
Bug:
67410808
Test: RunSettingsRoboTests
Change-Id: If7fefed1f012521293769eadf5d6485c12b98956
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
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
Kevin Chyn [Wed, 4 Oct 2017 00:31:28 +0000 (00:31 +0000)]
Merge "Fix logic error / possible NPE in AuthenticationSidecar"
Bryce Lee [Tue, 3 Oct 2017 23:27:53 +0000 (23:27 +0000)]
Merge "Add back developer option for freeform window support."
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
TreeHugger Robot [Tue, 3 Oct 2017 22:20:03 +0000 (22:20 +0000)]
Merge "Bind icon and remote views for Suggestion"
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
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
TreeHugger Robot [Tue, 3 Oct 2017 21:11:30 +0000 (21:11 +0000)]
Merge "Introduce LocalBackupPasswordPreferenceController"
TreeHugger Robot [Tue, 3 Oct 2017 20:56:24 +0000 (20:56 +0000)]
Merge "Explicitly set ENABLED state when a user enables an app."
TreeHugger Robot [Tue, 3 Oct 2017 20:51:08 +0000 (20:51 +0000)]
Merge "Introduce WebViewAppPreferenceControllerV2"
TreeHugger Robot [Tue, 3 Oct 2017 20:21:46 +0000 (20:21 +0000)]
Merge "Make WifiTracker lifecycle aware"
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
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
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
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
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
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
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
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
Jeffrey Huang [Tue, 3 Oct 2017 16:48:56 +0000 (16:48 +0000)]
Merge "Introduce ClearAdbKeysPreferenceController"
Jeffrey Huang [Tue, 3 Oct 2017 16:48:20 +0000 (16:48 +0000)]
Merge "Introduce ResizableActivityPreferenceController"
Jeffrey Huang [Tue, 3 Oct 2017 16:47:48 +0000 (16:47 +0000)]
Merge "Introduce NotificationChannelWarningsPrefCtrl"
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
TreeHugger Robot [Tue, 3 Oct 2017 00:30:35 +0000 (00:30 +0000)]
Merge "Return false if can't find package info"
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
Jeffrey Huang [Mon, 2 Oct 2017 22:59:04 +0000 (22:59 +0000)]
Merge "Introduce BugReportInPowerPreferenceControllerV2"
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
Eric Schwarzenbach [Mon, 2 Oct 2017 21:57:21 +0000 (21:57 +0000)]
Merge "Fix "Add Network" button on SavedAccessPoints page."
TreeHugger Robot [Mon, 2 Oct 2017 21:46:35 +0000 (21:46 +0000)]
Merge "Make robotest less flaky"
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
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
Jeffrey Huang [Mon, 2 Oct 2017 20:54:53 +0000 (20:54 +0000)]
Merge "Introduce VerifyAppsOverUsbPreferenceControllerV2"
Jeffrey Huang [Mon, 2 Oct 2017 20:53:52 +0000 (20:53 +0000)]
Merge "Introduce AllowAppsOnExternalPreferenceController"
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
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
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
Bill Yi [Mon, 2 Oct 2017 19:09:02 +0000 (19:09 +0000)]
Import translations. DO NOT MERGE
am:
6fe50e7224 -s ours
Change-Id: I2ac5d233d10ca35a6d8ed24b29f8eb05fe4bba9c
Carsten Hauge [Mon, 2 Oct 2017 18:53:32 +0000 (18:53 +0000)]
Merge "Avoid NullPointerException when updating preference intents" am:
c4b0fa5858 am:
f38ed428dc am:
5d2919907b
am:
143b31959b
Change-Id: I9f2b3769658200c332a38a943f2bc1331bdae3f9
Jeffrey Huang [Mon, 2 Oct 2017 18:16:51 +0000 (18:16 +0000)]
Merge "Introduce AppsNotRespondingPreferenceController"
Jeffrey Huang [Mon, 2 Oct 2017 18:16:25 +0000 (18:16 +0000)]
Merge "Introduce KeepActivitiesPreferenceController"
Jeffrey Huang [Mon, 2 Oct 2017 18:16:14 +0000 (18:16 +0000)]
Merge "Introduce UsbAudioRoutingPreferenceController"
Jeffrey Huang [Mon, 2 Oct 2017 18:16:03 +0000 (18:16 +0000)]
Merge "Introduce HardwareOverlaysPreferenceController"
Jeffrey Huang [Mon, 2 Oct 2017 18:15:47 +0000 (18:15 +0000)]
Merge "Introduce GpuViewUpdatesPreferenceController"
Jeffrey Huang [Mon, 2 Oct 2017 18:15:34 +0000 (18:15 +0000)]
Merge "Introduce ShowLayoutBoundsPreferenceController"
Carsten Hauge [Mon, 2 Oct 2017 18:10:49 +0000 (18:10 +0000)]
Merge "Avoid NullPointerException when updating preference intents" am:
c4b0fa5858 am:
f38ed428dc
am:
5d2919907b
Change-Id: I542ba13fe05f1027e0199c2a57ade93c6dd0bccb
Carsten Hauge [Mon, 2 Oct 2017 18:06:32 +0000 (18:06 +0000)]
Merge "Avoid NullPointerException when updating preference intents" am:
c4b0fa5858
am:
f38ed428dc
Change-Id: I3fcc041677b4d739952902076184a8fa1dd73dad
Carsten Hauge [Mon, 2 Oct 2017 18:03:40 +0000 (18:03 +0000)]
Merge "Avoid NullPointerException when updating preference intents"
am:
c4b0fa5858
Change-Id: I403d380ebfbbb0c70fdf5b6c9ff51267a5163e6f
Treehugger Robot [Mon, 2 Oct 2017 17:56:02 +0000 (17:56 +0000)]
Merge "Avoid NullPointerException when updating preference intents"
Bill Yi [Mon, 2 Oct 2017 15:23:49 +0000 (08:23 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug:
64712476
Change-Id: Ib580d3bc9d6b979d5da92cc4ef3f207acdfaa48e
Bill Yi [Mon, 2 Oct 2017 15:12:09 +0000 (08:12 -0700)]
Import translations. DO NOT MERGE
Change-Id: I3be6845a3c0c062387defa8349461b08be25df7f
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Carsten Hauge [Mon, 7 Jul 2014 07:36:07 +0000 (09:36 +0200)]
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
jeffreyhuang [Sat, 30 Sep 2017 00:28:33 +0000 (17:28 -0700)]
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
TreeHugger Robot [Sat, 30 Sep 2017 00:43:39 +0000 (00:43 +0000)]
Merge "Create suggestion state provider."
jeffreyhuang [Fri, 29 Sep 2017 23:27:56 +0000 (16:27 -0700)]
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
jeffreyhuang [Fri, 29 Sep 2017 23:10:13 +0000 (16:10 -0700)]
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
jeffreyhuang [Fri, 29 Sep 2017 00:59:55 +0000 (17:59 -0700)]
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
jeffreyhuang [Thu, 28 Sep 2017 23:49:53 +0000 (16:49 -0700)]
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
jeffreyhuang [Thu, 28 Sep 2017 22:02:13 +0000 (15:02 -0700)]
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
jeffreyhuang [Wed, 27 Sep 2017 22:55:49 +0000 (15:55 -0700)]
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
Fan Zhang [Thu, 28 Sep 2017 00:32:46 +0000 (17:32 -0700)]
Create suggestion state provider.
- The provider now handles isSuggestionComplete check
- Remove SuggestionChecks class.
Bug:
65065268
Test: robotests
Change-Id: Id45d67d4a5146cc023f7fad7bb292b4c1c14a782
Jeffrey Huang [Fri, 29 Sep 2017 22:35:55 +0000 (22:35 +0000)]
Merge "Introduce StrictModePreferenceController"
Jeff Davidson [Fri, 29 Sep 2017 19:47:57 +0000 (12:47 -0700)]
Explicitly set ENABLED state when a user enables an app.
When a user explicitly clicks a button labeled "Enable" for an
application in settings, the underlying package state should reflect
this. Otherwise, it is impossible to distinguish between the default
state of an app and an app which the user has explicitly requested to
enable.
This behavior is consistent with the Play Store's.
This also fixes a metrics bug where enabling a DISABLED_UNTIL_USED app
would be erroneously treated as disabling the app.
Test: Flashed and verified enabling both DISABLED_UNTIL_USED and
DISABLED apps.
Fixes:
64223206
Change-Id: Ic18068e6047045d6f5333eaf10fcddd1e95a679d
TreeHugger Robot [Fri, 29 Sep 2017 20:54:59 +0000 (20:54 +0000)]
Merge "Move code from SuggestionChecks to FeatureProvider"
Jeffrey Huang [Fri, 29 Sep 2017 20:50:36 +0000 (20:50 +0000)]
Merge "Introduce ForceMsaaPreferenceController"
Jeffrey Huang [Fri, 29 Sep 2017 20:50:05 +0000 (20:50 +0000)]
Merge "Introduce HardwareLayersUpdatesPreferenceCtrl"
Jeffrey Huang [Fri, 29 Sep 2017 20:49:46 +0000 (20:49 +0000)]
Merge "Introduce ForceGpuRenderingPreferenceController"
Jeffrey Huang [Fri, 29 Sep 2017 20:49:19 +0000 (20:49 +0000)]
Merge "Introduce RtlLayoutPreferenceController"
Jeffrey Huang [Fri, 29 Sep 2017 20:48:57 +0000 (20:48 +0000)]
Merge "Fix a bug in show surface updates"
jeffreyhuang [Fri, 29 Sep 2017 18:27:33 +0000 (11:27 -0700)]
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
jeffreyhuang [Fri, 29 Sep 2017 20:43:52 +0000 (13:43 -0700)]
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
songkailun [Fri, 29 Sep 2017 19:59:16 +0000 (19:59 +0000)]
Merge "Fix wrong format in AndroidManifest.xml" am:
de795d12d1 am:
39ddac51b6 am:
109d0bafd4
am:
806af289e8
Change-Id: I5ff0ee96f36cc1ab72333879fa92a798bf63a2be
songkailun [Fri, 29 Sep 2017 19:04:56 +0000 (19:04 +0000)]
Merge "Fix wrong format in AndroidManifest.xml" am:
de795d12d1 am:
39ddac51b6
am:
109d0bafd4
Change-Id: I8aa124be1d911d0fd72df1596436514231cc6fd6
Fan Zhang [Fri, 29 Sep 2017 00:17:44 +0000 (17:17 -0700)]
Move code from SuggestionChecks to FeatureProvider
This is step one to deprecate SuggestionChecks. Moving logic into
SuggestionFeatureProvider allows potential logic override and improves
testability.
Also moved isSuggestionComplete tests to corresponding activity/pref
controller test.
Bug:
65065268
Test: robotests
Change-Id: I2071d30fc58bb84acad2083ca03cfcf7d41f10cb
Tony Mantler [Thu, 28 Sep 2017 22:03:35 +0000 (15:03 -0700)]
Make WifiTracker lifecycle aware
Bug:
66953027
Test: m -j checkbuild
Change-Id: I004c889b887a67614a5e0b6ae62fdbf8d6070ebd
jeffreyhuang [Fri, 29 Sep 2017 01:08:47 +0000 (18:08 -0700)]
Fix a bug in show surface updates
- fix a bug that caused the master switch to unintentionally turn on
the show surface updates preference
Bug:
34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I307a801aa1a7c1606b3f5d55a0d1f2dbf1d60416
jeffreyhuang [Thu, 28 Sep 2017 22:24:52 +0000 (15:24 -0700)]
Introduce ForceMsaaPreferenceController
- Create new ForceMsaaPreferenceController
- Create controller inside the DashboardFragment
- Port logic from DevelopmentSettings into the controller
Bug:
34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I5d336037a6ae5904d0459fe56b311fac8372be86
jeffreyhuang [Wed, 27 Sep 2017 22:33:41 +0000 (15:33 -0700)]
Introduce RtlLayoutPreferenceController
- Create new RtlLayoutPreferenceController
- Create controller inside the DashboardFragment
- Port logic from DevelopmentSettings into the controller
Bug:
34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ieefd8dc97b0e1f781d97aca781bba0243c3875b9
jeffreyhuang [Thu, 28 Sep 2017 21:44:15 +0000 (14:44 -0700)]
Introduce HardwareLayersUpdatesPreferenceCtrl
- Create new HardwareLayersUpdatesPreferenceController
- 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: I12744051c836b17ca2bfca5a84b9e22eb7b7d677
jeffreyhuang [Thu, 28 Sep 2017 21:16:02 +0000 (14:16 -0700)]
Introduce ForceGpuRenderingPreferenceController
- Create new ForceGpuRenderingPreferenceController
- Create controller inside the DashboardFragment
- Port logic from DevelopmentSettings into the controller
Bug:
34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ib3afb9278257f0c2b181e15f28650d9620538c17
Jeffrey Huang [Fri, 29 Sep 2017 16:46:37 +0000 (16:46 +0000)]
Merge "Optimize poking to happen in dashboard fragment"
TreeHugger Robot [Fri, 29 Sep 2017 15:30:33 +0000 (15:30 +0000)]
Merge "Import translations. DO NOT MERGE"
songkailun [Fri, 29 Sep 2017 14:46:23 +0000 (14:46 +0000)]
Merge "Fix wrong format in AndroidManifest.xml" am:
de795d12d1
am:
39ddac51b6
Change-Id: Ife3991761d4fcbf5cecdb6745536f9ed99069a2e
songkailun [Fri, 29 Sep 2017 09:37:17 +0000 (09:37 +0000)]
Merge "Fix wrong format in AndroidManifest.xml"
am:
de795d12d1
Change-Id: I443534ac7e122e337102d41c4138a0e94be72f7f
Treehugger Robot [Fri, 29 Sep 2017 06:45:30 +0000 (06:45 +0000)]
Merge "Fix wrong format in AndroidManifest.xml"
songkailun [Fri, 29 Sep 2017 01:42:05 +0000 (09:42 +0800)]
Fix wrong format in AndroidManifest.xml
N/A
Change-Id: Idf3b9c22e65d15013f5e3e2f5a1e9719d35ede3a
Signed-off-by: songkailun <songkailun@xiaomi.com>
jeffreyhuang [Thu, 28 Sep 2017 22:54:50 +0000 (15:54 -0700)]
Optimize poking to happen in dashboard fragment
- Make sure that poking happens only once in
onDeveloperOptionsDisabled()
Bug:
34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I2a47f34ab17bf57ac4dabc7b0e67b42cc0b120b7
jeffreyhuang [Thu, 28 Sep 2017 23:00:59 +0000 (16:00 -0700)]
isAvailable is true by default in dev options
- isAvailable() is defaulted to return true for all developer options
preferences
- child controllers should override for custom hiding logic
Bug:
34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I89921f801c25e74bf78d02c55b5f34cf1d464cd0
Jeffrey Huang [Thu, 28 Sep 2017 22:46:35 +0000 (22:46 +0000)]
Merge "Introduce ShowSurfaceUpdatesPreferenceController"
Eric Schwarzenbach [Wed, 20 Sep 2017 23:34:23 +0000 (16:34 -0700)]
Fix "Add Network" button on SavedAccessPoints page.
Fix merge conflict.
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