Commit Graph

40628 Commits

Author SHA1 Message Date
Jeffrey Huang
dd24c49735 Merge "Introduce MobileDataAlwaysOnPreferenceController" 2017-09-26 21:51:42 +00:00
Jeffrey Huang
a19e3c1e75 Merge "Introduce WifiAggressiveHandoverPreferenceCtrl" 2017-09-26 21:51:30 +00:00
Jeffrey Huang
29b2c07956 Merge "Introduce CameraHalHdrPlusPreferenceControllerV2" 2017-09-26 21:51:01 +00:00
Fan Zhang
cd7b13bba5 Plumb SuggestionControllerMixin to DismissController.
- The SuggestionControllerMixin is needed to dismiss a suggestion.
- When swipe a suggestion, SuggestionControllerMixin is called, which
  then calls API in SuggestionService to dismiss a suggestion.

Bug: 65065268
Test: robotests
Change-Id: I6a0c5823d60b995ab4a36b1c91777f5cd31a500d
2017-09-26 14:09:22 -07:00
jeffreyhuang
c1aca60f61 Introduce MobileDataAlwaysOnPreferenceController
- Create new MobileDataAlwaysOnPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DeveloperSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: If4b1a0d14c4b24cb1562a37627436bfb011e9310
2017-09-26 12:13:26 -07:00
jeffreyhuang
78a560ff28 Introduce BluetoothDeviceNoNamePreferenceCtrl
- Create new BluetoothDeviceNoNamePreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ia73952bd396fb50d96393befd011f7cdc08689f7
2017-09-26 12:10:47 -07:00
jeffreyhuang
34fa4823cc Introduce WifiAggressiveHandoverPreferenceCtrl
- Create new WifiAggressiveHandoverPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ic32119a83ca21a6475cfd27b04cde76ba87bd372
2017-09-26 11:48:37 -07:00
TreeHugger Robot
9aae9d5d80 Merge "Rename TelephonyMonitor to ConnectivityMonitor" 2017-09-26 17:14:34 +00:00
jeffreyhuang
2145f8a275 Introduce CameraHalHdrPlusPreferenceControllerV2
- Create new CameraHalHdrPlusPreferenceControllerV2
 - Copy logic from CameraHalHdrPlusPreferenceController with slight
   modifications for dashboard fragment compatibility
 - Deprecate CameraHalHdrPlusPreferenceController

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I9b88286d16930df208c7c413728c816637409c81
2017-09-26 09:59:39 -07:00
Jeffrey Huang
070a0f9c43 Merge "Introduce WifiRoamScansPreferenceController" 2017-09-26 16:56:57 +00:00
Naveen Kalla
cac657fdbb Rename TelephonyMonitor to ConnectivityMonitor
TelephonyMonitor can be extended to catch WIFI and GPS
issues.

Bug: 38422753
Test: Unit tests and manual testing
Change-Id: I71f9cf75fdc792452dd35a3581ef0f5fcc0c1ab0
2017-09-26 05:36:44 -07:00
Lei Yang
58fca6385a Fix "Set up Wi-Fi NFC Tag" dialog cannot be scrolled
"Set up Wi-Fi NFC Tag" dialog cannot be scrolled and "Show password"
is not displayed when setting Font size and Display size to Largest.
To fix this issue, ScrollView should be added.

Fixes: 66936807
Test: manual - long tap a connected Wi-Fi AP and
               tap "Write to NFC tag".

Change-Id: I3edcf3c2b9db47319e18405066bcb835b064b690
2017-09-26 10:20:29 +00:00
Rajeev Kumar
bf0a26c363 Get rid of unnecessary KEY_RESTRICT_BACKGROUND preference. am: 298ffee39e
am: 49034b4796

Change-Id: I892a62447e183874fe3ac0568844fb2da01de151
2017-09-26 08:05:31 +00:00
Rajeev Kumar
49034b4796 Get rid of unnecessary KEY_RESTRICT_BACKGROUND preference.
am: 298ffee39e

Change-Id: Ia322a81e7fa521679d57a5d654c17af148e1ed68
2017-09-26 08:00:58 +00:00
TreeHugger Robot
36fe2ca3dc Merge "Move the indexing back into DatabaseIndexingManager" 2017-09-26 04:21:45 +00:00
Colin Cross
f389af4c61 Merge "Remove unnecessary core-oj library" am: a37bf5616a am: 00c0d436f4 am: d3802f9ff4
am: b4e93fe704

Change-Id: I3f428afea07473992318daed6d1d440781751853
2017-09-26 01:33:08 +00:00
Colin Cross
b4e93fe704 Merge "Remove unnecessary core-oj library" am: a37bf5616a am: 00c0d436f4
am: d3802f9ff4

Change-Id: Ic4a6b40e2ff4a8a232b2f60c61765757262b2120
2017-09-26 01:27:39 +00:00
Colin Cross
d3802f9ff4 Merge "Remove unnecessary core-oj library" am: a37bf5616a
am: 00c0d436f4

Change-Id: I88adb043f9fbd9d35ff4ba49c15bddb8125c7b1c
2017-09-26 01:23:12 +00:00
Colin Cross
00c0d436f4 Merge "Remove unnecessary core-oj library"
am: a37bf5616a

Change-Id: I9a2fa6cb15e5a908f37f6a85967f93419f5e22db
2017-09-26 01:18:50 +00:00
Treehugger Robot
a37bf5616a Merge "Remove unnecessary core-oj library" 2017-09-26 01:12:30 +00:00
Kevin Chyn
2d53992c46 Update Fingerprint/PIN string to fix grammar
Fixes: 63121846

Test: manual test of setting up FP/PIN
Change-Id: Id0aa04b9f76eddea2be00cf916202a56ff1ce932
2017-09-25 17:06:15 -07:00
Matthew Fritze
80e54df833 Move the indexing back into DatabaseIndexingManager
For the sake of incremental updates, we moved all of the
conversion from PreIndexData to IndexData, and the
insertion of the rows into the SQLite DB into a new class,
IndexDataConverter. However, it's real role is just to
convert PreIndexData into IndexData.

So this CL moves the insertion of the rows back into
DatabaseIndexingManager.

Again, for the sake of simplicity, I did not change the
conversion flow. Rather, instead of inserting a row at the
end of the conversion, I just put it into a list which is
then returned. This lets me move the tests to appropriate
locations, without having to change them too much.

In the tests, the references to real xml layouts are
changed to fake references. Hooray for being less brittle.
IndexDataConverter now just tests that the IndexData
has the appropriate data from PreIndexdData.

Independently, we test that IndexData gets inserted in
DatabaseIndexingManager.

In the next CL, I'll refactor the conversion
flow for readability.

Bug: 33577327
Test: make RunSettingsRoboTests
Test: Took a database dump before and after change,
      and they were the same. Cool.

Change-Id: I39cc812d1f736e13a0a51af50984c239961ecf7a
2017-09-25 16:48:22 -07:00
jeffreyhuang
914d9fa55e Introduce WifiRoamScansPreferenceController
- Create new WifiRoamScansPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I967944e8d22d985035c94874d13e02c3f5e70781
2017-09-25 16:43:55 -07:00
Jeffrey Huang
07aba19287 Merge "Introduce WifiDisplayCertPreferenceController" 2017-09-25 22:31:22 +00:00
Jeffrey Huang
ae51e78998 Merge "Introduce CameraLaserSensorPreferenceControllerV2" 2017-09-25 21:24:21 +00:00
jeffreyhuang
d61c360385 Introduce WifiDisplayCertPreferenceController
- Create new WifiDisplayCertificationPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I34688131054e1a9d660482b04ad4b792235c445a
2017-09-25 13:55:28 -07:00
jeffreyhuang
c215b3c4e9 Introduce CameraLaserSensorPreferenceControllerV2
- Create new CameraLaserSensorPreferenceControllerV2
 - Copy logic from CameraLaserSensorPreferenceController with slight
 modifications for dashboard fragment compatibility
 - Deprecate CameraLaserSensorPreferenceController

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I8854d3e891afab607025a427a376e33e9b61dcc3
2017-09-25 12:42:47 -07:00
Jeffrey Huang
8ac9352b02 Merge "Introduce DisableAutoUpdatesPreferenceController" 2017-09-25 19:19:38 +00:00
Rajeev Kumar
298ffee39e Get rid of unnecessary KEY_RESTRICT_BACKGROUND preference.
This preference is not needed for Data plan settings page. This change
fixes the NPE which happens because we try to remove a preference which
is not added to the settings preference fragment.
Test: make RunSettingsRoboTests -j40
Bug: 64068792

Change-Id: Ibbcf1637b8aed1a94542ea3786170f2f318df4a9
2017-09-25 11:34:10 -07:00
Adrian Roos
c1b9a8e538 Merge "FRP: Fix positioning of cancel button in ConfirmCredential screens with internal theme" into oc-mr1-dev am: eafcc98ab8
am: fce69dbb56

Change-Id: I43cef01451f2dead8a2a0a6abf745daa2f2090bb
2017-09-25 11:19:04 +00:00
Adrian Roos
fce69dbb56 Merge "FRP: Fix positioning of cancel button in ConfirmCredential screens with internal theme" into oc-mr1-dev
am: eafcc98ab8

Change-Id: I3da818a64d47a397c2380cbd0ae36a714612d8f0
2017-09-25 11:17:22 +00:00
TreeHugger Robot
eafcc98ab8 Merge "FRP: Fix positioning of cancel button in ConfirmCredential screens with internal theme" into oc-mr1-dev 2017-09-25 11:11:53 +00:00
Colin Cross
6be287a209 Remove unnecessary core-oj library
core-oj is part of the default java libraries and should not be
explicitly included by a package.

Test: m -j checkbuild
Change-Id: Idccd326ebbbfb9121ce556037e79c173bfd08580
2017-09-23 22:09:31 -07:00
Ng Zhi An
15b71d0305 Merge "Reflect device encryption status" into oc-mr1-dev am: 3de3cf85f4
am: 7c94fcc9bc

Change-Id: I44690e80e84d9de842d04bb349581cbfb2a3c808
2017-09-23 00:34:05 +00:00
Ng Zhi An
7c94fcc9bc Merge "Reflect device encryption status" into oc-mr1-dev
am: 3de3cf85f4

Change-Id: I0c64feb4eaa3b675cf0e6269279da04fe220f323
2017-09-23 00:32:05 +00:00
TreeHugger Robot
3de3cf85f4 Merge "Reflect device encryption status" into oc-mr1-dev 2017-09-23 00:28:27 +00:00
Soroosh Mariooryad
2aab11772d Fix ANR issue caused by sharedpref commit() on suggestion event logging
Test: RunSettingsRoboTests
Fixes: 66719302

Change-Id: I5e99a279d5c72409b8ca982148396f7d1e0d46b7
2017-09-22 16:10:13 -07:00
Doris Ling
8d4aa3f9b3 Merge "Put code that updates the access points lists inside a Handler." 2017-09-22 22:39:24 +00:00
jeffreyhuang
6177d91efe Introduce DisableAutoUpdatesPreferenceController
- Create new DisableAutomaticUpdatesPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Iae7ff3f7d2e296968c67e14c33089b3b42c4912a
2017-09-22 14:57:38 -07:00
Winson Chung
4466843b80 Merge "Fixing issue with PiP settings not showing apps for other profiles." into oc-mr1-dev am: 625b1dd13a
am: 078d01c8c1  -s ours

Change-Id: I1e35d654d43011911b9fb92d15e78ccd04b6eb0b
2017-09-22 21:45:46 +00:00
jackqdyulei
0b6a3bc9c4 Hide summary for type system
Bug: 66573821
Test: RunSettingsRoboTests
Change-Id: I9d0f829cbe3577665d1c3d593e2ae95c0bbfa8b6
2017-09-22 13:45:51 -07:00
Winson Chung
078d01c8c1 Merge "Fixing issue with PiP settings not showing apps for other profiles." into oc-mr1-dev
am: 625b1dd13a

Change-Id: I5904804d9407a279de508fc8e071bc4132856545
2017-09-22 20:43:39 +00:00
Jeffrey Huang
ce7721625d Merge "Introduce CoolColorTemperaturePreferenceController" 2017-09-22 20:38:40 +00:00
Winson Chung
625b1dd13a Merge "Fixing issue with PiP settings not showing apps for other profiles." into oc-mr1-dev 2017-09-22 20:30:28 +00:00
TreeHugger Robot
c66e81fcbf Merge "Import translations. DO NOT MERGE" 2017-09-22 18:50:48 +00:00
Alison Cichowlas
f4a0f80677 Notification importance/selected sound conflict fixes. am: ad1158169c
am: 6c76550a73  -s ours

Change-Id: Iddd56dc48cdd6fbe7883aa29a17cba89000cd4c2
2017-09-22 18:44:07 +00:00
Maurice Lam
e18902ec67 Update Robolectric to 3.4.2
Bug: 66693279
Test: m RunSettingsRoboTests
      m RunSettingsRoboTests-jacoco
Change-Id: I9df619c3d68f0af2ee2ae944a15998275129f7c2
2017-09-22 18:34:00 +00:00
Alison Cichowlas
6c76550a73 Notification importance/selected sound conflict fixes.
am: ad1158169c

Change-Id: I7b921e8845bcd549790318cc074838a24fe22182
2017-09-22 18:23:34 +00:00
Tony Mantler
76cbd4b3b2 Make ApplicationsState.Session lifecycle-aware
Bug: 66682989
Test: RunSettingsRoboTests
Change-Id: Idf56788fcae22639b7bf604a8c73cd5f0ff2da16
2017-09-22 11:23:17 -07:00
Jeffrey Huang
e8ac23d93f Merge "Introduce DebugViewAttributesPreferenceController" 2017-09-22 17:02:44 +00:00