OSDN Git Service

android-x86/packages-apps-Settings.git
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 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 agoImport translations. DO NOT MERGE
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

6 years agoMerge "Avoid NullPointerException when updating preference intents" am: c4b0fa5858...
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

6 years agoMerge "Introduce AppsNotRespondingPreferenceController"
Jeffrey Huang [Mon, 2 Oct 2017 18:16:51 +0000 (18:16 +0000)]
Merge "Introduce AppsNotRespondingPreferenceController"

6 years agoMerge "Introduce KeepActivitiesPreferenceController"
Jeffrey Huang [Mon, 2 Oct 2017 18:16:25 +0000 (18:16 +0000)]
Merge "Introduce KeepActivitiesPreferenceController"

6 years agoMerge "Introduce UsbAudioRoutingPreferenceController"
Jeffrey Huang [Mon, 2 Oct 2017 18:16:14 +0000 (18:16 +0000)]
Merge "Introduce UsbAudioRoutingPreferenceController"

6 years agoMerge "Introduce HardwareOverlaysPreferenceController"
Jeffrey Huang [Mon, 2 Oct 2017 18:16:03 +0000 (18:16 +0000)]
Merge "Introduce HardwareOverlaysPreferenceController"

6 years agoMerge "Introduce GpuViewUpdatesPreferenceController"
Jeffrey Huang [Mon, 2 Oct 2017 18:15:47 +0000 (18:15 +0000)]
Merge "Introduce GpuViewUpdatesPreferenceController"

6 years agoMerge "Introduce ShowLayoutBoundsPreferenceController"
Jeffrey Huang [Mon, 2 Oct 2017 18:15:34 +0000 (18:15 +0000)]
Merge "Introduce ShowLayoutBoundsPreferenceController"

6 years agoMerge "Avoid NullPointerException when updating preference intents" am: c4b0fa5858...
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

6 years agoMerge "Avoid NullPointerException when updating preference intents" am: c4b0fa5858
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

6 years agoMerge "Avoid NullPointerException when updating preference intents"
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

6 years agoMerge "Avoid NullPointerException when updating preference intents"
Treehugger Robot [Mon, 2 Oct 2017 17:56:02 +0000 (17:56 +0000)]
Merge "Avoid NullPointerException when updating preference intents"

6 years agoImport translations. DO NOT MERGE
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

6 years agoImport translations. DO NOT MERGE
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

6 years agoAvoid NullPointerException when updating preference intents
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

6 years agoMerge "Create suggestion state provider."
TreeHugger Robot [Sat, 30 Sep 2017 00:43:39 +0000 (00:43 +0000)]
Merge "Create suggestion state provider."

6 years agoIntroduce AppsNotRespondingPreferenceController
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

6 years agoIntroduce UsbAudioRoutingPreferenceController
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

6 years agoIntroduce HardwareOverlaysPreferenceController
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

6 years agoIntroduce GpuViewUpdatesPreferenceController
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

6 years agoIntroduce ShowLayoutBoundsPreferenceController
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

6 years agoCreate suggestion state provider.
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

6 years agoMerge "Introduce StrictModePreferenceController"
Jeffrey Huang [Fri, 29 Sep 2017 22:35:55 +0000 (22:35 +0000)]
Merge "Introduce StrictModePreferenceController"

6 years agoMerge "Move code from SuggestionChecks to FeatureProvider"
TreeHugger Robot [Fri, 29 Sep 2017 20:54:59 +0000 (20:54 +0000)]
Merge "Move code from SuggestionChecks to FeatureProvider"

6 years agoMerge "Introduce ForceMsaaPreferenceController"
Jeffrey Huang [Fri, 29 Sep 2017 20:50:36 +0000 (20:50 +0000)]
Merge "Introduce ForceMsaaPreferenceController"

6 years agoMerge "Introduce HardwareLayersUpdatesPreferenceCtrl"
Jeffrey Huang [Fri, 29 Sep 2017 20:50:05 +0000 (20:50 +0000)]
Merge "Introduce HardwareLayersUpdatesPreferenceCtrl"

6 years agoMerge "Introduce ForceGpuRenderingPreferenceController"
Jeffrey Huang [Fri, 29 Sep 2017 20:49:46 +0000 (20:49 +0000)]
Merge "Introduce ForceGpuRenderingPreferenceController"

6 years agoMerge "Introduce RtlLayoutPreferenceController"
Jeffrey Huang [Fri, 29 Sep 2017 20:49:19 +0000 (20:49 +0000)]
Merge "Introduce RtlLayoutPreferenceController"

6 years agoMerge "Fix a bug in show surface updates"
Jeffrey Huang [Fri, 29 Sep 2017 20:48:57 +0000 (20:48 +0000)]
Merge "Fix a bug in show surface updates"

6 years agoIntroduce StrictModePreferenceController
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

6 years agoIntroduce KeepActivitiesPreferenceController
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

6 years agoMerge "Fix wrong format in AndroidManifest.xml" am: de795d12d1 am: 39ddac51b6 am...
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

6 years agoMerge "Fix wrong format in AndroidManifest.xml" am: de795d12d1 am: 39ddac51b6
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

6 years agoMove code from SuggestionChecks to FeatureProvider
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

6 years agoFix a bug in show surface updates
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

6 years agoIntroduce ForceMsaaPreferenceController
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

6 years agoIntroduce RtlLayoutPreferenceController
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

6 years agoIntroduce HardwareLayersUpdatesPreferenceCtrl
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

6 years agoIntroduce ForceGpuRenderingPreferenceController
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

6 years agoMerge "Optimize poking to happen in dashboard fragment"
Jeffrey Huang [Fri, 29 Sep 2017 16:46:37 +0000 (16:46 +0000)]
Merge "Optimize poking to happen in dashboard fragment"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 29 Sep 2017 15:30:33 +0000 (15:30 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Fix wrong format in AndroidManifest.xml" am: de795d12d1
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

6 years agoMerge "Fix wrong format in AndroidManifest.xml"
songkailun [Fri, 29 Sep 2017 09:37:17 +0000 (09:37 +0000)]
Merge "Fix wrong format in AndroidManifest.xml"
am: de795d12d1

Change-Id: I443534ac7e122e337102d41c4138a0e94be72f7f

6 years agoMerge "Fix wrong format in AndroidManifest.xml"
Treehugger Robot [Fri, 29 Sep 2017 06:45:30 +0000 (06:45 +0000)]
Merge "Fix wrong format in AndroidManifest.xml"

6 years agoFix 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>
6 years agoOptimize poking to happen in dashboard fragment
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

6 years agoisAvailable is true by default in dev options
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

6 years agoMerge "Introduce ShowSurfaceUpdatesPreferenceController"
Jeffrey Huang [Thu, 28 Sep 2017 22:46:35 +0000 (22:46 +0000)]
Merge "Introduce ShowSurfaceUpdatesPreferenceController"

6 years agoMerge "Introduce BluetoothInbandRingingPreferenceCtrl"
Jeffrey Huang [Thu, 28 Sep 2017 21:35:35 +0000 (21:35 +0000)]
Merge "Introduce BluetoothInbandRingingPreferenceCtrl"

6 years agoIntroduce ShowSurfaceUpdatesPreferenceController
jeffreyhuang [Wed, 27 Sep 2017 21:55:46 +0000 (14:55 -0700)]
Introduce ShowSurfaceUpdatesPreferenceController

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

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

6 years agoMerge "Fix a failing test in AdbPreferenceControllerTest"
Jeffrey Huang [Thu, 28 Sep 2017 20:28:57 +0000 (20:28 +0000)]
Merge "Fix a failing test in AdbPreferenceControllerTest"

6 years agoFix a failing test in AdbPreferenceControllerTest
jeffreyhuang [Thu, 28 Sep 2017 20:24:16 +0000 (13:24 -0700)]
Fix a failing test in AdbPreferenceControllerTest

 - Mock out a problematic method

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

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev am: d5b9fec389 -s ours
Bill Yi [Thu, 28 Sep 2017 19:36:32 +0000 (19:36 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: d5b9fec389  -s ours
am: 532f150227  -s ours

Change-Id: Id4ea5c6c982f8ab27551513b422fd6570513b6d8

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Thu, 28 Sep 2017 19:33:32 +0000 (19:33 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: d5b9fec389  -s ours

Change-Id: Iec1b837215cf09e1904287f9eee0082fa4f00097

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Thu, 28 Sep 2017 19:17:32 +0000 (19:17 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoIntroduce BluetoothInbandRingingPreferenceCtrl
jeffreyhuang [Tue, 26 Sep 2017 20:35:44 +0000 (13:35 -0700)]
Introduce BluetoothInbandRingingPreferenceCtrl

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

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

6 years agoMerge "Introduce PointerLocationPreferenceController"
Jeffrey Huang [Thu, 28 Sep 2017 18:07:05 +0000 (18:07 +0000)]
Merge "Introduce PointerLocationPreferenceController"

6 years agoMerge "Introduce BluetoothAbsoluteVolumePreferenceCtrl"
Jeffrey Huang [Thu, 28 Sep 2017 18:06:37 +0000 (18:06 +0000)]
Merge "Introduce BluetoothAbsoluteVolumePreferenceCtrl"

6 years agoMerge "Introduce AdbPreferenceController"
Jeffrey Huang [Thu, 28 Sep 2017 18:05:11 +0000 (18:05 +0000)]
Merge "Introduce AdbPreferenceController"

6 years agoMerge "Refactor IndexData conversion flow"
TreeHugger Robot [Thu, 28 Sep 2017 17:43:04 +0000 (17:43 +0000)]
Merge "Refactor IndexData conversion flow"

6 years agoMerge "Fix fingerprint grammar"
Kevin Chyn [Thu, 28 Sep 2017 16:36:51 +0000 (16:36 +0000)]
Merge "Fix fingerprint grammar"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 28 Sep 2017 02:51:32 +0000 (19:51 -0700)]
Import translations. DO NOT MERGE

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

Bug: 64712476
Change-Id: If92f24f85c26217b251503d846183f80da8b75ba

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 28 Sep 2017 02:39:53 +0000 (19:39 -0700)]
Import translations. DO NOT MERGE

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

6 years agoMerge "Hide summary for type system" into oc-mr1-dev am: aadee0997c
jackqdyulei [Thu, 28 Sep 2017 02:18:59 +0000 (02:18 +0000)]
Merge "Hide summary for type system" into oc-mr1-dev am: aadee0997c
am: da9247d645

Change-Id: I440fcbfea0cf934e68737eb5314739e397d80d88

6 years agoMerge "Hide summary for type system" into oc-mr1-dev
jackqdyulei [Thu, 28 Sep 2017 02:17:08 +0000 (02:17 +0000)]
Merge "Hide summary for type system" into oc-mr1-dev
am: aadee0997c

Change-Id: I99a8cfefe4253ee223b91d2a3e0b9e7721e73ee4

6 years agoMerge "Hide summary for type system" into oc-mr1-dev
TreeHugger Robot [Thu, 28 Sep 2017 02:11:54 +0000 (02:11 +0000)]
Merge "Hide summary for type system" into oc-mr1-dev

6 years agoMerge "Move listening to brightness changes to onStart/onStop." into oc-mr1-dev am...
Doris Ling [Thu, 28 Sep 2017 02:07:04 +0000 (02:07 +0000)]
Merge "Move listening to brightness changes to onStart/onStop." into oc-mr1-dev am: d52c4482e4
am: eccb0fcff9

Change-Id: Ic62d580bad8d520e9a1ec942ab30c361df9e24aa

6 years agoMerge "Move listening to brightness changes to onStart/onStop." into oc-mr1-dev
Doris Ling [Thu, 28 Sep 2017 02:05:10 +0000 (02:05 +0000)]
Merge "Move listening to brightness changes to onStart/onStop." into oc-mr1-dev
am: d52c4482e4

Change-Id: I2206805a6b9dada11576a6e6667980585acc8472

6 years agoMerge "Move listening to brightness changes to onStart/onStop." into oc-mr1-dev
TreeHugger Robot [Thu, 28 Sep 2017 01:58:47 +0000 (01:58 +0000)]
Merge "Move listening to brightness changes to onStart/onStop." into oc-mr1-dev

6 years agoFix fingerprint grammar
Kevin Chyn [Thu, 28 Sep 2017 01:52:17 +0000 (18:52 -0700)]
Fix fingerprint grammar

Fixes: 63121846

Test: manual test of fingerprint setup, string is updated
Change-Id: I5ac90da196639a01db1dc4bf765a671e248e492f

6 years agoMerge "Update Robolectric to 3.4.2"
TreeHugger Robot [Wed, 27 Sep 2017 23:49:19 +0000 (23:49 +0000)]
Merge "Update Robolectric to 3.4.2"

6 years agoSettings: Show HAL HDR+ option in user build am: 4d26fa03a8
Chien-Yu Chen [Wed, 27 Sep 2017 23:35:18 +0000 (23:35 +0000)]
Settings: Show HAL HDR+ option in user build am: 4d26fa03a8
am: f0c328ed78

Change-Id: Ia14d7a5ada922d29816f8c9d2895f6141d86ff27

6 years agoSettings: Show HAL HDR+ option in user build
Chien-Yu Chen [Wed, 27 Sep 2017 23:33:01 +0000 (23:33 +0000)]
Settings: Show HAL HDR+ option in user build
am: 4d26fa03a8

Change-Id: I9b94c91b0a212ca727b9ba2ee7fc75902f2590e4

6 years agoMerge "Settings: Correctly align cursor in Settings"
TreeHugger Robot [Wed, 27 Sep 2017 22:47:40 +0000 (22:47 +0000)]
Merge "Settings: Correctly align cursor in Settings"

6 years agoMerge "Settings: Show HAL HDR+ option in user build"
TreeHugger Robot [Wed, 27 Sep 2017 22:45:27 +0000 (22:45 +0000)]
Merge "Settings: Show HAL HDR+ option in user build"

6 years agoIntroduce PointerLocationPreferenceController
jeffreyhuang [Wed, 27 Sep 2017 20:59:46 +0000 (13:59 -0700)]
Introduce PointerLocationPreferenceController

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

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

6 years agoMerge "delete obsolete SELinux code."
TreeHugger Robot [Wed, 27 Sep 2017 22:12:06 +0000 (22:12 +0000)]
Merge "delete obsolete SELinux code."

6 years agoMerge "Introduce ConnectivityMonitorPreferenceCtrlV2"
TreeHugger Robot [Wed, 27 Sep 2017 21:36:55 +0000 (21:36 +0000)]
Merge "Introduce ConnectivityMonitorPreferenceCtrlV2"

6 years agoSettings: Correctly align cursor in Settings
PMS22 [Wed, 14 Jun 2017 07:10:15 +0000 (07:10 +0000)]
Settings: Correctly align cursor in Settings

Steps to Reproduce:
- Click on Density Settings (DPI Settings) / Renaming BT Device / Renaming SIM Settings
- EditText Dialog pops up
- The cursor is at the leftmost side of the text
- Logically Cursor should be at rightmost side which can be aligned grabbing text length

Screenshots:
Before:
http://imgur.com/a/o4vkr
http://imgur.com/a/6Qext

After:
http://imgur.com/a/fuxqT
http://imgur.com/a/vm2WX

Bug: 65185652
Test: RunSettingsRoboTests: OK (47 tests)

Change-Id: Id00308e7e019434edad4afab56cf4719be0d0d54
Signed-off-by: PMS22 <prathams99@rediff.com>
6 years agoSettings: Show HAL HDR+ option in user build
Chien-Yu Chen [Wed, 27 Sep 2017 20:31:49 +0000 (13:31 -0700)]
Settings: Show HAL HDR+ option in user build

Test: CameraHalHdrPlusPreferenceControllerV2Test
Bug: 66919557
Change-Id: Ibaadf1b24ba82a8440aae9058397c96db6f24188

6 years agoSettings: Show HAL HDR+ option in user build
Chien-Yu Chen [Wed, 27 Sep 2017 18:38:15 +0000 (11:38 -0700)]
Settings: Show HAL HDR+ option in user build

Test: CameraHalHdrplusPreferenceControllerTest
Bug: 66919557
Change-Id: I02e89d34db56398e64e12616f34b8584df25c48b

6 years agodelete obsolete SELinux code.
Nick Kralevich [Wed, 27 Sep 2017 20:33:54 +0000 (13:33 -0700)]
delete obsolete SELinux code.

This settings field only shows up on devices which have the
ro.build.selinux property, which is never something we added. This code
is dead.

Change-Id: I20349b4e8fea5be761047e47d4551c1a4f087a37
Test: code compiles and setting app works.

6 years agoMerge "Introduce ShowTapsPreferenceController"
Jeffrey Huang [Wed, 27 Sep 2017 20:02:51 +0000 (20:02 +0000)]
Merge "Introduce ShowTapsPreferenceController"

6 years agoMerge "Introduce TetheringHardwareAccelPreferenceCtrl"
Jeffrey Huang [Wed, 27 Sep 2017 20:02:25 +0000 (20:02 +0000)]
Merge "Introduce TetheringHardwareAccelPreferenceCtrl"

6 years agoIntroduce AdbPreferenceController
jeffreyhuang [Thu, 21 Sep 2017 18:14:22 +0000 (11:14 -0700)]
Introduce AdbPreferenceController

 - Create new AdbPreferenceController
 - Create AdbOnChangeListener interface for adb change callbacks
 - Create EnableAdbSettingWarningDialog
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller
 - Add deprecated annotation to EnableAdbPreferenceController

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

6 years agoRefactor IndexData conversion flow
Matthew Fritze [Tue, 5 Sep 2017 18:04:14 +0000 (11:04 -0700)]
Refactor IndexData conversion flow

This is entirely implementation detail, the public
interface and tests get to stay the same.

- The Raw, Resource and Provider methods now return single
or lists of IndexData rather than adding to a member var.
- Some code duplication was removed for Raw IndexData.
- Extra methods were squashed or removed

The only remaining refactoring in IndexDataConverter is
moving work done on IndexProviders to get the raw and
resources into PreIndexDataCollector.

Bug: 33577327
Test: make RunSettingsRoboTests, Database dump before & after
Change-Id: If6011046955f242ba2614400cfeca3bea5b683cb

6 years agoMerge "Make ApplicationsState.Session lifecycle-aware"
Tony Mantler [Wed, 27 Sep 2017 18:22:03 +0000 (18:22 +0000)]
Merge "Make ApplicationsState.Session lifecycle-aware"

6 years agoMerge "Fix a bug in CameraHalHdrPlusPrefCtrlV2Test"
Jeffrey Huang [Wed, 27 Sep 2017 17:08:40 +0000 (17:08 +0000)]
Merge "Fix a bug in CameraHalHdrPlusPrefCtrlV2Test"

6 years agoMerge "Introduce WifiVerboseLoggingPreferenceCtrl"
Jeffrey Huang [Wed, 27 Sep 2017 17:08:19 +0000 (17:08 +0000)]
Merge "Introduce WifiVerboseLoggingPreferenceCtrl"

6 years agoMerge changes from topic "DevOptionsDebugger"
Jeffrey Huang [Wed, 27 Sep 2017 17:03:09 +0000 (17:03 +0000)]
Merge changes from topic "DevOptionsDebugger"

* changes:
  Introduce WaitForDebuggerPreferenceController
  Introduce SelectDebugAppPreferenceController

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 56555e0403 -s ours
Bill Yi [Wed, 27 Sep 2017 02:58:41 +0000 (02:58 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 56555e0403  -s ours
am: bcac4b4c7b  -s ours

Change-Id: I6ae1eb784a96a9147489a3bdccb6430e1079f4a7

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 27 Sep 2017 02:56:17 +0000 (02:56 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Move fingerprint authentication to a sidecar"
Kevin Chyn [Wed, 27 Sep 2017 02:56:01 +0000 (02:56 +0000)]
Merge "Move fingerprint authentication to a sidecar"

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Wed, 27 Sep 2017 02:55:05 +0000 (02:55 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: 56555e0403  -s ours

Change-Id: Ic83e7a755169fb3a2336c2f8d9489c22619ba46c

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 27 Sep 2017 02:50:26 +0000 (02:50 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Update Fingerprint/PIN string to fix grammar"
Kevin Chyn [Wed, 27 Sep 2017 00:55:43 +0000 (00:55 +0000)]
Merge "Update Fingerprint/PIN string to fix grammar"

6 years agoIntroduce ShowTapsPreferenceController
jeffreyhuang [Wed, 27 Sep 2017 00:04:14 +0000 (17:04 -0700)]
Introduce ShowTapsPreferenceController

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

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

6 years agoMerge "Fix "Set up Wi-Fi NFC Tag" dialog cannot be scrolled" am: d2f42970bf am: a40f7...
Lei Yang [Tue, 26 Sep 2017 23:48:13 +0000 (23:48 +0000)]
Merge "Fix "Set up Wi-Fi NFC Tag" dialog cannot be scrolled" am: d2f42970bf am: a40f7c0f5e am: 17b5110539
am: 255b8a219a

Change-Id: I5bd94646d59a913d020979343ff047ae698428e6