OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoMerge "move inputmethod test package to sdk 26"
TreeHugger Robot [Thu, 30 Nov 2017 22:47:55 +0000 (22:47 +0000)]
Merge "move inputmethod test package to sdk 26"

6 years agoMerge "move graph package to sdk 26"
TreeHugger Robot [Thu, 30 Nov 2017 22:10:43 +0000 (22:10 +0000)]
Merge "move graph package to sdk 26"

6 years agoMerge changes I7925482b,Ia4ed8863,Ia322a8c9
TreeHugger Robot [Thu, 30 Nov 2017 22:08:40 +0000 (22:08 +0000)]
Merge changes I7925482b,Ia4ed8863,Ia322a8c9

* changes:
  move gestures package to sdk 26
  Update DoubleTapScreenPrefCtrl to sdk 26
  Update PickupGesturePrefCtrlTest to sdk 26

6 years agomove inputmethod test package to sdk 26
jeffreyhuang [Thu, 30 Nov 2017 20:28:14 +0000 (12:28 -0800)]
move inputmethod test package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I4d0435d8833bf1ff767688109e239c6729fdead9

6 years agomove graph package to sdk 26
jeffreyhuang [Thu, 30 Nov 2017 20:21:49 +0000 (12:21 -0800)]
move graph package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I0a48b7c186aa6e35f08e46bc7af06d6a4d83af18

6 years agomove gestures package to sdk 26
jeffreyhuang [Thu, 30 Nov 2017 19:50:39 +0000 (11:50 -0800)]
move gestures package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I7925482b43e178a01e2a21176919306a1284007d

6 years agoUpdate DoubleTapScreenPrefCtrl to sdk 26
jeffreyhuang [Thu, 30 Nov 2017 19:50:00 +0000 (11:50 -0800)]
Update DoubleTapScreenPrefCtrl to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: Ia4ed886381e2758b7b1523648833fc57ca58a5b3

6 years agoMerge "Add search menu to all pages"
TreeHugger Robot [Thu, 30 Nov 2017 20:10:27 +0000 (20:10 +0000)]
Merge "Add search menu to all pages"

6 years agoAdd search menu to all pages
Fan Zhang [Thu, 30 Nov 2017 00:57:19 +0000 (16:57 -0800)]
Add search menu to all pages

Change-Id: I0910df3d26fe583deb70d7052bde28b64e7844a7
Fixes: 68814716
Test: robotests

6 years agoUpdate PickupGesturePrefCtrlTest to sdk 26
jeffreyhuang [Thu, 30 Nov 2017 18:35:58 +0000 (10:35 -0800)]
Update PickupGesturePrefCtrlTest to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: Ia322a8c98760c1074732369d084e6a57a29903af

6 years agoMerge "Index Nightdisplay Settings into search"
TreeHugger Robot [Thu, 30 Nov 2017 18:25:29 +0000 (18:25 +0000)]
Merge "Index Nightdisplay Settings into search"

6 years agoMerge "Bluetooth: Give PBAP permission only if device is AUDIO_VIDEO_HANDSFREE" am...
Hemant Gupta [Thu, 30 Nov 2017 17:45:18 +0000 (17:45 +0000)]
Merge "Bluetooth: Give PBAP permission only if device is AUDIO_VIDEO_HANDSFREE" am: b21a10b2ff am: a84a535729
am: cf2557e8f4

Change-Id: I207d63ade137f41a1ac6d6184f019b0a21cffd9d

6 years agoMerge "Bluetooth: Give PBAP permission only if device is AUDIO_VIDEO_HANDSFREE" am...
Hemant Gupta [Thu, 30 Nov 2017 17:43:08 +0000 (17:43 +0000)]
Merge "Bluetooth: Give PBAP permission only if device is AUDIO_VIDEO_HANDSFREE" am: b21a10b2ff
am: a84a535729

Change-Id: Ia8ed56e2da6641a107af912efdf497d90c0d43ed

6 years agoMerge "Bluetooth: Give PBAP permission only if device is AUDIO_VIDEO_HANDSFREE"
Hemant Gupta [Thu, 30 Nov 2017 17:40:31 +0000 (17:40 +0000)]
Merge "Bluetooth: Give PBAP permission only if device is AUDIO_VIDEO_HANDSFREE"
am: b21a10b2ff

Change-Id: Id0378b1c410afcc0566652e3308cd812dcd68470

6 years agoMerge "Bluetooth: Give PBAP permission only if device is AUDIO_VIDEO_HANDSFREE"
Treehugger Robot [Thu, 30 Nov 2017 17:38:01 +0000 (17:38 +0000)]
Merge "Bluetooth: Give PBAP permission only if device is AUDIO_VIDEO_HANDSFREE"

6 years agoIndex Nightdisplay Settings into search
Matthew Fritze [Tue, 28 Nov 2017 22:36:35 +0000 (14:36 -0800)]
Index Nightdisplay Settings into search

Adds a SearchIndexProvider into NightDisplaySettings
to index night_display_settings.xml. It will show
up in search as long as ColorDisplayController
is available.

Also, supress the search result for Night Display
under Display settings in favor of the actual toggle.

Test: robotests
Fixes: 69852201

Change-Id: Id014a5ab03e7a6b5fc99f79a1cb41a0c06323f9c

6 years agoMerge changes from topic "settings_presubmit_instr_test"
TreeHugger Robot [Thu, 30 Nov 2017 01:38:33 +0000 (01:38 +0000)]
Merge changes from topic "settings_presubmit_instr_test"

* changes:
  Refactor help menu stuff into a controller
  Fix UniquePreferenceTest

6 years agoMerge "Fix unit test for PreferenceController"
TreeHugger Robot [Thu, 30 Nov 2017 01:38:33 +0000 (01:38 +0000)]
Merge "Fix unit test for PreferenceController"

6 years agoRefactor help menu stuff into a controller
Fan Zhang [Wed, 29 Nov 2017 22:55:59 +0000 (14:55 -0800)]
Refactor help menu stuff into a controller

This is a clean up to action bar menu item pattern, we will use the same
pattern to build search icon on all pages in a later change.

Bug: 68814716
Test: robotests
Change-Id: Iedd3ec263e8ccb63ed75ec7a95b28c00878b1de4

6 years agoMerge "Fix robolectric tests"
TreeHugger Robot [Wed, 29 Nov 2017 22:51:27 +0000 (22:51 +0000)]
Merge "Fix robolectric tests"

6 years agoFix UniquePreferenceTest
Fan Zhang [Wed, 29 Nov 2017 22:47:32 +0000 (14:47 -0800)]
Fix UniquePreferenceTest

Change-Id: I40f0c70dafe6992ad2a10a02419a6d1f54f96590
Fixes: 69917513
Test: atest

6 years agoMerge "Fix indexing in cast and zen mode settings"
TreeHugger Robot [Wed, 29 Nov 2017 22:36:18 +0000 (22:36 +0000)]
Merge "Fix indexing in cast and zen mode settings"

6 years agoMerge "Update asset for no search result image"
TreeHugger Robot [Wed, 29 Nov 2017 21:14:27 +0000 (21:14 +0000)]
Merge "Update asset for no search result image"

6 years agoMerge "Add preference group for saved devcies."
TreeHugger Robot [Wed, 29 Nov 2017 21:14:14 +0000 (21:14 +0000)]
Merge "Add preference group for saved devcies."

6 years agoFix robolectric tests
Fan Zhang [Wed, 29 Nov 2017 20:48:01 +0000 (12:48 -0800)]
Fix robolectric tests

- Override a button style to avoid dependency on new style name.

Change-Id: I62935afe16424d8ddf0c2448327d76eda00440a5
Fixes: 69918100
Test: robotests

6 years agoMerge changes I8122a411,I947d418a,Ib90ad5af,I514918b5
TreeHugger Robot [Wed, 29 Nov 2017 20:42:38 +0000 (20:42 +0000)]
Merge changes I8122a411,I947d418a,Ib90ad5af,I514918b5

* changes:
  Move fuelgauge test package to sdk 26
  Update AnomalySummarPrefCtrl to sdk 26
  Update BackgroundActivityPrefCtrl to sdk 26
  Update BatteryHeaderPreferenceCtrlTest to sdk 26

6 years agoBluetooth: Give PBAP permission only if device is AUDIO_VIDEO_HANDSFREE
Hemant Gupta [Fri, 22 Sep 2017 06:54:14 +0000 (12:24 +0530)]
Bluetooth: Give PBAP permission only if device is AUDIO_VIDEO_HANDSFREE

Step by step:
1. Pair and connect with BTHS (e.g. SBH50).
2. Click the settings icon of paired device, and check "Use for" items.
-----------------------------------------------------------------
Expected Result:
After step 2, "Contact sharing" should not be checked.

Actual Result:
After step 2, "Contact sharing" is checked.

Fix:
Set phone book permission as REJECTED if class of Device is
not AUDIO_VIDEO_HANDSFREE

Test: Checked above usecase and issue is not observed

Bug: 64372703
Change-Id: I178a09dd9e76d67c461c4b04d9b2ee0078ed24c9

6 years agoMerge "Rename search bar corner radius dimen to allow oem override"
TreeHugger Robot [Wed, 29 Nov 2017 20:33:19 +0000 (20:33 +0000)]
Merge "Rename search bar corner radius dimen to allow oem override"

6 years agoUpdate asset for no search result image
Fan Zhang [Wed, 29 Nov 2017 18:53:37 +0000 (10:53 -0800)]
Update asset for no search result image

Bug: 68863351
Test: visual
Change-Id: Ia4d411e5d7d1db8b321fdfde006a93c6ff52ecb3

6 years agoMerge "Fix ConcurrentModificationException in SummaryLoader."
TreeHugger Robot [Wed, 29 Nov 2017 19:57:40 +0000 (19:57 +0000)]
Merge "Fix ConcurrentModificationException in SummaryLoader."

6 years agoFix unit test for PreferenceController
Matthew Fritze [Wed, 29 Nov 2017 19:05:46 +0000 (11:05 -0800)]
Fix unit test for PreferenceController

As we migrate to using BasePreferenceController,
we need to change the checks for PreferenceControllerMixin.

Change-Id: I68cc065b9ac5a39eec21b7979cdb527b13c9778a
Fixes: 69917609
Test: atest

6 years agoMove fuelgauge test package to sdk 26
jeffreyhuang [Wed, 29 Nov 2017 18:54:27 +0000 (10:54 -0800)]
Move fuelgauge test package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I8122a41132821a42c4ec8c5995a1a11833b686cd

6 years agoUpdate AnomalySummarPrefCtrl to sdk 26
jeffreyhuang [Wed, 29 Nov 2017 18:53:21 +0000 (10:53 -0800)]
Update AnomalySummarPrefCtrl to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I947d418a48cb06b0e88c9d87822dd90d336ec6c2

6 years agoUpdate BackgroundActivityPrefCtrl to sdk 26
jeffreyhuang [Wed, 29 Nov 2017 18:51:13 +0000 (10:51 -0800)]
Update BackgroundActivityPrefCtrl to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: Ib90ad5afd0539a2ee69f153a49979d443fc3ff68

6 years agoMerge changes Ieefdc9d1,Id2dad12b
Jeffrey Huang [Wed, 29 Nov 2017 18:47:02 +0000 (18:47 +0000)]
Merge changes Ieefdc9d1,Id2dad12b

* changes:
  Move fingerprint package to sdk 26
  Update DeleteFingerprintDialogTest to sdk 26

6 years agoMerge "Update the usage of getDefaultUserIcon"
TreeHugger Robot [Wed, 29 Nov 2017 11:13:11 +0000 (11:13 +0000)]
Merge "Update the usage of getDefaultUserIcon"

6 years agoRename search bar corner radius dimen to allow oem override
Fan Zhang [Wed, 29 Nov 2017 02:02:47 +0000 (18:02 -0800)]
Rename search bar corner radius dimen to allow oem override

Bug: 68814716
Test: visual
Change-Id: Iac4da717aea9fd1c3e9cec089464cbb4dccb75f9

6 years agoFix indexing in cast and zen mode settings
Fan Zhang [Wed, 29 Nov 2017 00:52:53 +0000 (16:52 -0800)]
Fix indexing in cast and zen mode settings

- Fragment should either not implement serach provider or return a valid
  xml. Search provider with 0 resource is invalid.

Change-Id: Ie87c739bf72c926cecf48d271c6c2d72459787c4
Fixes: 69864274
Test: robotests

6 years agoUpdate BatteryHeaderPreferenceCtrlTest to sdk 26
jeffreyhuang [Wed, 29 Nov 2017 01:13:57 +0000 (17:13 -0800)]
Update BatteryHeaderPreferenceCtrlTest to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I514918b528984881d983bee6248e909e7b7824da

6 years agoMove fingerprint package to sdk 26
jeffreyhuang [Wed, 29 Nov 2017 00:44:44 +0000 (16:44 -0800)]
Move fingerprint package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: Ieefdc9d10b8c3b68757c6a89990f380599e14e9b

6 years agoUpdate DeleteFingerprintDialogTest to sdk 26
jeffreyhuang [Wed, 29 Nov 2017 00:44:16 +0000 (16:44 -0800)]
Update DeleteFingerprintDialogTest to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: Id2dad12b653caf93c84e043da9be389166b1f421

6 years agoFix ConcurrentModificationException in SummaryLoader.
Doris Ling [Thu, 23 Nov 2017 01:29:21 +0000 (17:29 -0800)]
Fix ConcurrentModificationException in SummaryLoader.

When the dashboard summary is being initialized, it will rebuild the UI
while the summary loader tries to to go through the tiles to update the
summary. Both is being done on a separate backgroud thread, and it will
run into concurrent modification issue if the thread is being swapped
while one is looping through the list.

Instead of letting clients access the list of tiles directly, add a
getter method in DashboardCategory to get a copy of the list of tiles
for all read-only operations.

Change-Id: I479669abd8d1d0a8ee9a4113d8ad2244da56f4d8
Fixes: 69677575
Test: make RunSettingsRoboTests

6 years agoMerge "Remove extra newline in AndroidManifest." am: 8aeb69396d am: 9d30592308
Malcolm Chen [Wed, 29 Nov 2017 00:42:53 +0000 (00:42 +0000)]
Merge "Remove extra newline in AndroidManifest." am: 8aeb69396d am: 9d30592308
am: 68af33f2df

Change-Id: I308b4cd283b522f50d6c124de2f36b6f93457105

6 years agoMerge "Remove extra newline in AndroidManifest." am: 8aeb69396d
Malcolm Chen [Wed, 29 Nov 2017 00:36:54 +0000 (00:36 +0000)]
Merge "Remove extra newline in AndroidManifest." am: 8aeb69396d
am: 9d30592308

Change-Id: I2b4480c0d1a98ce4bb87d6fa30f347b929703fe9

6 years agoMerge changes I6b4c5d1d,I1b81bbdf
TreeHugger Robot [Wed, 29 Nov 2017 00:35:25 +0000 (00:35 +0000)]
Merge changes I6b4c5d1d,I1b81bbdf

* changes:
  Move enterprise test package to sdk 26
  Update ApplicationListPreferenceCtrlTest to sdk 26

6 years agoMerge "Remove extra newline in AndroidManifest."
Malcolm Chen [Wed, 29 Nov 2017 00:31:49 +0000 (00:31 +0000)]
Merge "Remove extra newline in AndroidManifest."
am: 8aeb69396d

Change-Id: I36ea57db56ff985da118fb7ab117bf939b7b2dc1

6 years agoMerge "Remove extra newline in AndroidManifest."
Treehugger Robot [Wed, 29 Nov 2017 00:22:47 +0000 (00:22 +0000)]
Merge "Remove extra newline in AndroidManifest."

6 years agoMerge changes I88978ab8,I07137c92,Ifdd4db51
TreeHugger Robot [Wed, 29 Nov 2017 00:09:31 +0000 (00:09 +0000)]
Merge changes I88978ab8,I07137c92,Ifdd4db51

* changes:
  Move display test package to sdk 26
  Update AppGridViewTest to sdk 26
  Update AmbientDisplayAlwaysOnPrefTest to sdk 26

6 years agoMerge "Move dream test package to sdk 26"
TreeHugger Robot [Tue, 28 Nov 2017 23:51:30 +0000 (23:51 +0000)]
Merge "Move dream test package to sdk 26"

6 years agoMerge "Move deviceinfo test package to sdk 26"
TreeHugger Robot [Tue, 28 Nov 2017 22:59:41 +0000 (22:59 +0000)]
Merge "Move deviceinfo test package to sdk 26"

6 years agoMove enterprise test package to sdk 26
jeffreyhuang [Tue, 28 Nov 2017 22:50:02 +0000 (14:50 -0800)]
Move enterprise test package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I6b4c5d1d2ba9e7f48168c545432a5a62d024f43d

6 years agoUpdate ApplicationListPreferenceCtrlTest to sdk 26
jeffreyhuang [Tue, 28 Nov 2017 22:49:19 +0000 (14:49 -0800)]
Update ApplicationListPreferenceCtrlTest to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I1b81bbdf63e9baf07f2db4eda71243c7cdab834e

6 years agoMerge changes I886a7277,I25d96c82
TreeHugger Robot [Tue, 28 Nov 2017 22:43:30 +0000 (22:43 +0000)]
Merge changes I886a7277,I25d96c82

* changes:
  Move development test package to sdk 26
  Move OemUnlockPreferenceControllerTest to sdk 26

6 years agoMerge "Add SettingsPrefController for Slices"
TreeHugger Robot [Tue, 28 Nov 2017 22:14:28 +0000 (22:14 +0000)]
Merge "Add SettingsPrefController for Slices"

6 years agoMove dream test package to sdk 26
jeffreyhuang [Tue, 28 Nov 2017 21:48:11 +0000 (13:48 -0800)]
Move dream test package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I009e768a9911ecb3cbf6bd056bfe29802a65805b

6 years agoMove display test package to sdk 26
jeffreyhuang [Tue, 28 Nov 2017 21:41:30 +0000 (13:41 -0800)]
Move display test package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I88978ab800e845eda6c937bf890016d53928d4fd

6 years agoUpdate AppGridViewTest to sdk 26
jeffreyhuang [Tue, 28 Nov 2017 21:41:19 +0000 (13:41 -0800)]
Update AppGridViewTest to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I07137c9274920a163db4ddf676800d70ef76c8bb

6 years agoUpdate AmbientDisplayAlwaysOnPrefTest to sdk 26
jeffreyhuang [Tue, 28 Nov 2017 21:41:02 +0000 (13:41 -0800)]
Update AmbientDisplayAlwaysOnPrefTest to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: Ifdd4db51e87fd38defef23946811b5e24e6c7cfe

6 years agoMerge "Update Settings to use DeviceDefault colored button"
TreeHugger Robot [Tue, 28 Nov 2017 21:23:49 +0000 (21:23 +0000)]
Merge "Update Settings to use DeviceDefault colored button"

6 years agoMove deviceinfo test package to sdk 26
jeffreyhuang [Tue, 28 Nov 2017 21:06:39 +0000 (13:06 -0800)]
Move deviceinfo test package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I8546a4503f84b169642f723e87f4a91cf4c99dd0

6 years agoMerge "Move deletionhelper test package to sdk 26"
TreeHugger Robot [Tue, 28 Nov 2017 20:21:20 +0000 (20:21 +0000)]
Merge "Move deletionhelper test package to sdk 26"

6 years agoMove development test package to sdk 26
jeffreyhuang [Tue, 28 Nov 2017 19:57:13 +0000 (11:57 -0800)]
Move development test package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I886a72774442884329d15e5dd276b00a269201c5

6 years agoMove OemUnlockPreferenceControllerTest to sdk 26
jeffreyhuang [Tue, 28 Nov 2017 19:56:57 +0000 (11:56 -0800)]
Move OemUnlockPreferenceControllerTest to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I25d96c82bd99c5c7adba6b6269f1a5735b22ca5b

6 years agoMerge "Implement querySiteMapPairs for indexableProvider."
TreeHugger Robot [Tue, 28 Nov 2017 19:38:32 +0000 (19:38 +0000)]
Merge "Implement querySiteMapPairs for indexableProvider."

6 years agoMerge changes Icae52730,I38282b97
TreeHugger Robot [Tue, 28 Nov 2017 19:32:46 +0000 (19:32 +0000)]
Merge changes Icae52730,I38282b97

* changes:
  Move dashboard test package to sdk 26
  Update DashboardFeatureProviderImplTest to sdk 26

6 years agoMerge "move connecteddevice test package to sdk 26"
TreeHugger Robot [Tue, 28 Nov 2017 18:58:29 +0000 (18:58 +0000)]
Merge "move connecteddevice test package to sdk 26"

6 years agoMerge "Add new method to FakeUid"
TreeHugger Robot [Tue, 28 Nov 2017 18:43:49 +0000 (18:43 +0000)]
Merge "Add new method to FakeUid"

6 years agoMove deletionhelper test package to sdk 26
jeffreyhuang [Tue, 28 Nov 2017 18:15:15 +0000 (10:15 -0800)]
Move deletionhelper test package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: Ib791b499c1c6231f3d17bf3dfbfd65c2bdaf0f77

6 years agoMerge "Move datetime package to sdk 26"
TreeHugger Robot [Tue, 28 Nov 2017 04:05:46 +0000 (04:05 +0000)]
Merge "Move datetime package to sdk 26"

6 years agoMerge "Move datausage test package to sdk 26"
TreeHugger Robot [Tue, 28 Nov 2017 02:39:31 +0000 (02:39 +0000)]
Merge "Move datausage test package to sdk 26"

6 years agoMerge "Move datausage test package to sdk 26"
TreeHugger Robot [Tue, 28 Nov 2017 02:38:24 +0000 (02:38 +0000)]
Merge "Move datausage test package to sdk 26"

6 years agoMerge "Move bluetooth test package to sdk 26"
TreeHugger Robot [Tue, 28 Nov 2017 01:26:41 +0000 (01:26 +0000)]
Merge "Move bluetooth test package to sdk 26"

6 years agoMerge "Move backup package tests to sdk 26"
TreeHugger Robot [Tue, 28 Nov 2017 01:12:35 +0000 (01:12 +0000)]
Merge "Move backup package tests to sdk 26"

6 years agoMove datausage test package to sdk 26
jeffreyhuang [Tue, 28 Nov 2017 01:09:51 +0000 (17:09 -0800)]
Move datausage test package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: Ie09794d6d32794ac40c3e6587b81fc108b445c9c

6 years agoMove datetime package to sdk 26
jeffreyhuang [Tue, 28 Nov 2017 01:05:06 +0000 (17:05 -0800)]
Move datetime package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I0b93682625e15a6306f5fbd3409d4a4003beb805

6 years agoMove dashboard test package to sdk 26
jeffreyhuang [Tue, 28 Nov 2017 00:37:08 +0000 (16:37 -0800)]
Move dashboard test package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: Icae52730bb12abcabb42d7e0a905c2b9108c3e28

6 years agoUpdate DashboardFeatureProviderImplTest to sdk 26
jeffreyhuang [Tue, 28 Nov 2017 00:36:36 +0000 (16:36 -0800)]
Update DashboardFeatureProviderImplTest to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I38282b97b3e0325a1568d1af9bd2b38b110736c1

6 years agoMove datausage test package to sdk 26
jeffreyhuang [Tue, 28 Nov 2017 00:46:52 +0000 (16:46 -0800)]
Move datausage test package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I10d2d0eb9abafe8a81adab3ce3f5db2f1f3337b8

6 years agoAdd SettingsPrefController for Slices
Matthew Fritze [Wed, 15 Nov 2017 23:12:52 +0000 (15:12 -0800)]
Add SettingsPrefController for Slices

Adds a new abstraction layer between preference controllers
and the AbstractPreferenceController. The layer is used to
consolidate the logic for each the setting type for getting
and setting values. This will be extended to support UI
information for Slices.

For reference how this fits into Slices, look at the
like-named classes added in this prototype:
ag/3221891

The changes in Search are as a transition into deprecation.
The code for Search in Settings is out-of-date from the
unbundled counterpart, and this change is made so that the
current code behaves as normal.

Test: robotests
Bug: 67996707
Change-Id: Ib1faab706485039edad66119a27a3fd5cabe6009

6 years agoMerge changes I9815f48e,Ib344f062,I84b62392,I81bfdff0
TreeHugger Robot [Tue, 28 Nov 2017 00:32:37 +0000 (00:32 +0000)]
Merge changes I9815f48e,Ib344f062,I84b62392,I81bfdff0

* changes:
  Move applications test package to sdk 26
  Update tests to sdk 26
  move manageapplications to sdk 26
  Update viewholder tests to sdk 26

6 years agoMerge "Update RecentAppsPreferenceControllerTest to sdk26"
TreeHugger Robot [Tue, 28 Nov 2017 00:02:53 +0000 (00:02 +0000)]
Merge "Update RecentAppsPreferenceControllerTest to sdk26"

6 years agoImplement querySiteMapPairs for indexableProvider.
Fan Zhang [Mon, 27 Nov 2017 23:50:19 +0000 (15:50 -0800)]
Implement querySiteMapPairs for indexableProvider.

Query sitemap will return a list of pairs [parent class name, child
class name]. It's up to consumer to figure out the display name later
so the provider doesn't have dependency on localizing any display names.

- Removed SiteMapManagerTest. We will perform the test in
  SettingsIntelligence instead.
- Added test for the new provider in instrumentation test (robolectric
  doesn't recognize the new constants in framework yet)

Bug: 67359411
Bug: 64938328
Test: atest
Change-Id: Ia973115320e6b7c8cf84d4756db1763ae7010aed

6 years agomove connecteddevice test package to sdk 26
jeffreyhuang [Mon, 27 Nov 2017 23:47:24 +0000 (15:47 -0800)]
move connecteddevice test package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I8dd681215dcc1f3da44c5ab852c2d80016aeeb5c

6 years agoMove bluetooth test package to sdk 26
jeffreyhuang [Mon, 27 Nov 2017 23:42:25 +0000 (15:42 -0800)]
Move bluetooth test package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I26e6f437052caafd97f3f164b388d379fc890e7e

6 years agoMove backup package tests to sdk 26
jeffreyhuang [Mon, 27 Nov 2017 23:14:12 +0000 (15:14 -0800)]
Move backup package tests to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I016e8ae3336544c4c75ead96d06e4b461ed13773

6 years agoMerge "Update style names due to theme migration"
TreeHugger Robot [Mon, 27 Nov 2017 23:14:02 +0000 (23:14 +0000)]
Merge "Update style names due to theme migration"

6 years agoMove applications test package to sdk 26
jeffreyhuang [Mon, 27 Nov 2017 22:55:38 +0000 (14:55 -0800)]
Move applications test package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I9815f48ed9c6ddcfdae10cf09fbdf742a7066dfa

6 years agoUpdate tests to sdk 26
jeffreyhuang [Mon, 27 Nov 2017 22:55:02 +0000 (14:55 -0800)]
Update tests to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: Ib344f0622dfa3b9f9a8fdd6736bc34cb4f536db8

6 years agoMerge changes I8668be19,Ifb7769a1
Jeffrey Huang [Mon, 27 Nov 2017 21:47:12 +0000 (21:47 +0000)]
Merge changes I8668be19,Ifb7769a1

* changes:
  move defaultapps package to sdk 26
  Update DefaultAppInfoTest to sdk 26

6 years agomove manageapplications to sdk 26
jeffreyhuang [Mon, 27 Nov 2017 20:05:11 +0000 (12:05 -0800)]
move manageapplications to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I84b62392a4a4d55c1d4e6a9eadc5910e4b9a8530

6 years agoUpdate viewholder tests to sdk 26
jeffreyhuang [Mon, 27 Nov 2017 20:04:43 +0000 (12:04 -0800)]
Update viewholder tests to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I81bfdff059255b3e7a20270dea62ffd56cc53ad5

6 years agoMerge "Make sure FP error text is visible in landscape"
TreeHugger Robot [Mon, 27 Nov 2017 21:42:38 +0000 (21:42 +0000)]
Merge "Make sure FP error text is visible in landscape"

6 years agoUpdate RecentAppsPreferenceControllerTest to sdk26
jeffreyhuang [Mon, 27 Nov 2017 21:37:31 +0000 (13:37 -0800)]
Update RecentAppsPreferenceControllerTest to sdk26

 - Remove the usage of the mock context to avoid null pointers in sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I73dac0c91e56d84cdec0314a4ec5754a0a98c54b

6 years agoMerge "CredentialStorage: Fix manual key installation."
TreeHugger Robot [Mon, 27 Nov 2017 21:10:25 +0000 (21:10 +0000)]
Merge "CredentialStorage: Fix manual key installation."

6 years agoAdd new method to FakeUid
Ahmed ElArabawy [Tue, 31 Oct 2017 01:07:35 +0000 (18:07 -0700)]
Add new method to FakeUid

This commit adds a new method to FakeUid
The added method is getMulticastWakelockStats()

Test: Manual Test
Bug: 33649966
Change-Id: I55c31eca87f1ad46e478d5e9e5e2f951eaee0265
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
6 years agoAdd preference group for saved devcies.
jackqdyulei [Tue, 21 Nov 2017 18:44:21 +0000 (10:44 -0800)]
Add preference group for saved devcies.

Currently it only contains bluetooth devices.

Bug: 3240835
Test: RunSettingsRoboTests
Change-Id: Ief102e7174a4c4610dbda6b728419b303ff928f9

6 years agoMerge "Increase max char limit for sim slot number"
TreeHugger Robot [Mon, 27 Nov 2017 20:06:41 +0000 (20:06 +0000)]
Merge "Increase max char limit for sim slot number"

6 years agoMerge "Move assist package to sdk 26"
TreeHugger Robot [Mon, 27 Nov 2017 19:50:34 +0000 (19:50 +0000)]
Merge "Move assist package to sdk 26"

6 years agoMerge "rename v2 controllers"
TreeHugger Robot [Mon, 27 Nov 2017 19:48:36 +0000 (19:48 +0000)]
Merge "rename v2 controllers"

6 years agoMerge "Fix comma typo"
TreeHugger Robot [Mon, 27 Nov 2017 19:43:19 +0000 (19:43 +0000)]
Merge "Fix comma typo"