Matthew Fritze
417693021e
Return null when setting can't be changed.
...
If a Slice cannot be changed, return null instead of
an error slice.
Bug: 80155832
Test: robotestst
Change-Id: Ib94136c449c6d9c1911f89833bba62fd2263daa4
2018-05-22 20:17:10 -07:00
Matthew Fritze
4b26969839
Clear indexing before adding all Slices
...
Before we index, add a call to clear indexed data before
indexing again. It's an optional call.
Fixes: 80065409
Test: robotests
Change-Id: Iddb0ce02c50d84b51fbf6fc2be0bdc9aa1f5987a
2018-05-22 20:02:20 -07:00
TreeHugger Robot
6be5e331cf
Merge "Update airplane mode key to match framework constant" into pi-dev
2018-05-23 03:00:47 +00:00
Matthew Fritze
8f36eb8cfb
Update airplane mode key to match framework constant
...
Change pref key for airplane mode to "airplane_mode" to match the
constant declared in SettingsSlicesContract.
Bug: 80106671
Test: robotests
Change-Id: I898befffbdafc3004fc127414edd04f60ff2554e
2018-05-22 18:51:11 -07:00
TreeHugger Robot
5a0a7ef4bb
Merge "Factor in PRIVATE_DNS_MODE_DEFAULTSETTING value" into pi-dev
2018-05-23 01:02:39 +00:00
Antony Sargent
49e1397451
Update storage, videogame, and vpn icons
...
Also remove duplicate ic_settings_storage.xml, rename
ic_settings_storage_white.xml to ic_storage_white.xml, and fix up
references.
Bug: 77982107
Test: manual
Change-Id: Icd78c2a2a8d200cb8819d58887455883acdbc668
2018-05-22 17:35:52 -07:00
Matthew Fritze
8ad8516f48
Update airplane mode key to match framework constant
...
Change pref key for airplane mode to "airplane_mode" to match the
constant declared in SettingsSlicesContract.
Bug: 80106671
Test: robotests
Change-Id: I625bed440dd7f1f8509cd00ced5ba67f08a0e737
Merged-In: I898befffbdafc3004fc127414edd04f60ff2554e
2018-05-22 17:34:19 -07:00
Antony Sargent
3802b63246
Update photo, accessibility, memory, sim, and warning icons
...
Bug: 77982107
Test: manual
Change-Id: I8076d1f6115b335693413c9177be79c7af9317a5
2018-05-22 16:50:52 -07:00
TreeHugger Robot
ef950c24bd
Merge "Add isSliceable API to BasePrefController" into pi-dev
2018-05-22 23:40:24 +00:00
Bill Yi
c4a3393b45
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 1dbed5f4f2
-s ours
...
am: 33ad1ae844
-s ours
Change-Id: Ic00088c41f062fefaa3168b7daaa25c4d00ccba5
2018-05-22 15:47:46 -07:00
Bill Yi
33ad1ae844
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
...
am: 1dbed5f4f2
-s ours
Change-Id: If38ef61a43b054ab10cc9f58062c43ab19b36347
2018-05-22 15:43:38 -07:00
Matthew Fritze
1dd25fd87c
Add isSliceable API to BasePrefController
...
Only support explicitly approved Settings Slices,
dictated by controllers which return true for the new
method isSliceable.
Updating the supported settings to a whitelist means that
the method to return all available slices must be updated,
and checking slicability when we index slices.
Test: robotests
Change-Id: I85848c2cdf3e151fa94b33dd1dc5c0374ef94b5b
Merged-In: Ib2b9690cdd0036b5cc4a1cb846c52bce7c824ab9
Fixes: 79779103
2018-05-22 22:43:24 +00:00
TreeHugger Robot
1dbed5f4f2
Merge "Import translations. DO NOT MERGE" into pi-dev
2018-05-22 22:37:33 +00:00
Fan Zhang
ac3b2ff89e
Merge "Make VideoPreference not important for talkback." into pi-dev am: 32c3b87db9
...
am: 8486fc70c5
Change-Id: Ibb75b4b608061a622c3c56041802722100a934c7
2018-05-22 15:05:48 -07:00
Fan Zhang
8486fc70c5
Merge "Make VideoPreference not important for talkback." into pi-dev
...
am: 32c3b87db9
Change-Id: I222b3a652c3345a66799c3920c3183128b37254b
2018-05-22 14:59:09 -07:00
TreeHugger Robot
32c3b87db9
Merge "Make VideoPreference not important for talkback." into pi-dev
2018-05-22 21:31:09 +00:00
Bill Yi
ce93f9e736
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Bug: 64712476
Change-Id: I06fb64abf52b7fdc00173dbc1ce5cb01cb9fcc61
2018-05-22 14:13:06 -07:00
TreeHugger Robot
f81fe9c354
Merge "Add isSliceable API to BasePrefController"
2018-05-22 21:02:45 +00:00
Jayachandran C
127bfcfe2d
Remove connectivity monitor switch from developer options
...
Test: Verify connectivity monitor switch is no more shown
under developer options
Bug: 79255514
Change-Id: I755885398b92a726b0b979815c33793abe01ea66
2018-05-22 13:24:33 -07:00
hughchen
d9f1e1c049
Merge "When BT is off hide rename preference" into pi-dev am: a419c4717d
...
am: a29fe74817
Change-Id: I9e2068de44126344af52532fbe076acd9121883d
2018-05-22 11:18:15 -07:00
Matthew Fritze
bf1f5b5813
Add isSliceable API to BasePrefController
...
Only support explicitly approved Settings Slices,
dictated by controllers which return true for the new
method isSliceable.
Updating the supported settings to a whitelist means that
the method to return all available slices must be updated,
and checking slicability when we index slices.
Test: robotests
Bug: 79779103
Change-Id: Ib2b9690cdd0036b5cc4a1cb846c52bce7c824ab9
2018-05-22 11:06:42 -07:00
hughchen
a29fe74817
Merge "When BT is off hide rename preference" into pi-dev
...
am: a419c4717d
Change-Id: I505144261b8f06a33ee8cd5280707a2b35180178
2018-05-22 11:00:11 -07:00
TreeHugger Robot
a419c4717d
Merge "When BT is off hide rename preference" into pi-dev
2018-05-22 17:48:31 +00:00
Matthew Fritze
17939388e3
[automerger skipped] Merge "Fix availability status for AOD gestures" into pi-dev am: 39f98e9018
...
am: 94b265ffe7
-s ours
Change-Id: I4eb4d086a1ad220969ce9f3ae90618db628a02f6
2018-05-22 10:19:54 -07:00
Matthew Fritze
94b265ffe7
Merge "Fix availability status for AOD gestures" into pi-dev
...
am: 39f98e9018
Change-Id: Iea6cab0934634ec124eb8e792d84ae06386ad03c
2018-05-22 10:09:17 -07:00
TreeHugger Robot
39f98e9018
Merge "Fix availability status for AOD gestures" into pi-dev
2018-05-22 16:50:12 +00:00
Fan Zhang
39019c6414
Make VideoPreference not important for talkback.
...
Change-Id: I9856afbd3f5140fa0c426bcc443d2f33e2ffc335
Fixes: 79887358
Test: talkback
2018-05-22 09:45:02 -07:00
hughchen
4e2160904d
When BT is off hide rename preference
...
* Hide the preference when BT is off, shown preference when BT is on.
Bug: 78247352
Test: make -j40 RunSettingsRoboTests ROBOTEST_FILTER=BluetoothDeviceNamePreferenceControllerTest
Change-Id: Id1e11c7b546d7ac5bc8606e8645d07d77f2b522f
2018-05-22 09:35:34 -07:00
Julia Reynolds
b98f69c89a
Merge "Fix field reordering on toggle switch" into pi-dev am: 8eac6665e8
...
am: 4bc1985a8c
Change-Id: I8db22efc4042ee91c2a3fbb3d6bfc632a91344b3
2018-05-22 09:24:48 -07:00
Julia Reynolds
4bc1985a8c
Merge "Fix field reordering on toggle switch" into pi-dev
...
am: 8eac6665e8
Change-Id: I64a86334e106e5f0a4a8b3a6140411dc5d0ffabd
2018-05-22 09:17:29 -07:00
Julia Reynolds
8eac6665e8
Merge "Fix field reordering on toggle switch" into pi-dev
2018-05-22 16:09:05 +00:00
Julia Reynolds
49d8b0a3e4
Merge "Don't reset channel field when loading the app" into pi-dev am: 7ae4b0bbdc
...
am: a7aee6eea5
Change-Id: Ib6804e0fa325d04360b620aa36f043c6c707db1b
2018-05-22 08:51:52 -07:00
TreeHugger Robot
1a825ca803
Merge "Fix availability status for AOD gestures"
2018-05-22 15:48:21 +00:00
Julia Reynolds
a7aee6eea5
Merge "Don't reset channel field when loading the app" into pi-dev
...
am: 7ae4b0bbdc
Change-Id: I5f2a0fc22a698822bbe25c545950dc97364a66a2
2018-05-22 08:46:19 -07:00
TreeHugger Robot
7ae4b0bbdc
Merge "Don't reset channel field when loading the app" into pi-dev
2018-05-22 15:36:22 +00:00
Matthew Fritze
f10765c884
[automerger skipped] Add Bluetooth Slice am: 25fc14c607
...
am: 225e3175af
-s ours
Change-Id: I7fa7596f781321dda580ea5b30a2026e950fab58
2018-05-22 08:19:11 -07:00
Matthew Fritze
225e3175af
Add Bluetooth Slice
...
am: 25fc14c607
Change-Id: If9d6b6ce4728853523a58329712bb823b35ce087
2018-05-22 08:13:31 -07:00
Julia Reynolds
a65cec7b9a
Fix field reordering on toggle switch
...
Every field needs an explicit order.
Test: manual
Change-Id: Iae533db9e9d240bd0dc14da04a1831fe23005f9e
Fixes: 79749266
2018-05-22 14:20:58 +00:00
Matthew Fritze
25fc14c607
Add Bluetooth Slice
...
Bluetooth slice is added a special case, due to the migration of
bluetooth to a Switch Bar instead of a preference with a controller.
Change-Id: I8b70bb66c862255a4e8d2426ac09939ba6197624
Merged-In: Icfdcd77601ad1e64e0f6c352a8d691f0181515c8
Fixes: 67997327
Test: robotests
2018-05-22 06:59:49 -07:00
Julia Reynolds
306e2d9f84
Don't reset channel field when loading the app
...
Only save data that's changed.
Change-Id: Iaa8265f543a7c1ec418d9d016986e0a253f28df6
Fixes: 79216856
Test: robo tests
2018-05-22 13:43:24 +00:00
Chia-I Wu
72a9730426
Merge "Show color modes from config_availableColorModes" into pi-dev am: 5c99a41a9c
...
am: 2dc9650a76
Change-Id: Ib248095ea777d13b4449369096953de574c98bb5
2018-05-22 00:31:52 -07:00
Chia-I Wu
2dc9650a76
Merge "Show color modes from config_availableColorModes" into pi-dev
...
am: 5c99a41a9c
Change-Id: I82de74655a8c000580355d857599278c445fe20e
2018-05-22 00:19:54 -07:00
Chia-I Wu
5c99a41a9c
Merge "Show color modes from config_availableColorModes" into pi-dev
2018-05-22 07:09:53 +00:00
Lei Yu
563727631c
Merge "When restrict, use uid inside AppInfo" into pi-dev am: 4376993a87
...
am: 0a084dadc2
Change-Id: I649e128ef5070562349de6951c9b3c2f1fbc1a76
2018-05-21 22:30:58 -07:00
Lei Yu
0a084dadc2
Merge "When restrict, use uid inside AppInfo" into pi-dev
...
am: 4376993a87
Change-Id: Ib882c9b94e05e56492d7a85db55564ca91ef46e1
2018-05-21 22:27:29 -07:00
TreeHugger Robot
4376993a87
Merge "When restrict, use uid inside AppInfo" into pi-dev
2018-05-22 05:22:24 +00:00
tim peng
874971905d
[automerger skipped] Merge changes I6d4f8ec3,Id4c1e86c into pi-dev am: e3a87548e5
...
am: 002f385b62
-s ours
Change-Id: Id1c1ee7ec1a3726f10ad2c041ad413d63133214d
2018-05-21 22:06:52 -07:00
tim peng
002f385b62
Merge changes I6d4f8ec3,Id4c1e86c into pi-dev
...
am: e3a87548e5
Change-Id: I6c063352b3c2fc6ab3b79baff222c976a5e14184
2018-05-21 21:58:29 -07:00
tim peng
e3a87548e5
Merge changes I6d4f8ec3,Id4c1e86c into pi-dev
...
* changes:
Make device discoverable in Connected Devices settings page
Add bluetooth discoverable footer preference in connected devices page
2018-05-22 04:44:15 +00:00
TreeHugger Robot
0db3c80e81
Merge "Add Bluetooth Slice"
2018-05-22 03:57:35 +00:00