OSDN Git Service
Fan Zhang [Fri, 25 May 2018 23:05:58 +0000 (16:05 -0700)]
Fix a bug where device index is not skipped correct.
When checking language/build fingerprint to skip reindex, language check
was comparing Locale object and String object, so they would never be
equal, so we accidentally reindex every time.
- Switched Objects.equal to TextUtils.equal, this catches the error at
compiler level.
Bug:
80065409
Test: compile/robotest
Change-Id: I2b3c68bb1c2fd876338f42321605567d7e64d64b
Michael Wright [Fri, 25 May 2018 22:37:29 +0000 (23:37 +0100)]
Add michaelwr to OWNERS for haptics settings in accessibility
Bug:
80243632
Test: N/A
Change-Id: Id315d626af527946230affc292ed9b329efe8b5b
Michael Wright [Fri, 25 May 2018 21:57:03 +0000 (22:57 +0100)]
Hide haptic intensity settings for devices without enough dynamic range.
Despite our hope, devices prior to P18 just don't have the dynamic range
to give three distinct vibration intensity settings. Given this, only
show an on / off toggle for devices by default unless they explicitly
opt-in to multiple intensity levels.
Test: m -j RunSettingsRoboTests
Bug:
80243632
Change-Id: I14ece855cf20f9fa44b0648d28f89c0053be5c5f
TreeHugger Robot [Fri, 25 May 2018 21:35:23 +0000 (21:35 +0000)]
Merge "Remove Advanced dropdown from "About phone" screen" into pi-dev
Matthew Fritze [Thu, 24 May 2018 23:09:05 +0000 (16:09 -0700)]
Fix DND crash from SpringboardActivity
Special case Uris need to explicitly add their intents.
This unfortunately duplicates a list of special-cased Slices,
but I have attached a bug with a plan to address this duplicity in Q.
Change-Id: I346915c32543713d33716422018d7c950cce323d
Fixes:
80065409
Test: atest SliceDeepLinkSpringBoardTest
Antony Sargent [Fri, 25 May 2018 19:52:24 +0000 (12:52 -0700)]
Remove Advanced dropdown from "About phone" screen
All the items will appear in the list instead of hiding some under an Advanced
dropdown.
Bug:
80302533
Test: manual (Settings->System->About phone)
Change-Id: I82857ec8e027b00762c1191d9450d30dfe47016f
Antony Sargent [Fri, 25 May 2018 20:00:10 +0000 (13:00 -0700)]
Another refresh of swipe up gesture video
Bug:
77474484
Test: manual (Settings->System->Gestures->Swipe up on Home button)
Change-Id: I62c46ef38cf67b4bf200ad2420138fe6677d6999
TreeHugger Robot [Fri, 25 May 2018 19:44:32 +0000 (19:44 +0000)]
Merge "2nd attempt to fix Slice strict mode." into pi-dev
TreeHugger Robot [Fri, 25 May 2018 16:53:44 +0000 (16:53 +0000)]
Merge "Add remaining whitelisted controllers" into pi-dev
Fan Zhang [Thu, 24 May 2018 17:10:02 +0000 (10:10 -0700)]
2nd attempt to fix Slice strict mode.
1. Use real BluetoothAdapter instead of settingslib version. The
settingslib version contains calls that violates strictmode rules.
2. Override StrictMode rules in SettingsSliceProvider when it's called
in background thread. When in background, the enforcement from Slice
framework (StrictMode#ThreadPolicy) is not useful and can be safely
ignored.
Change-Id: I68523148f4c1dc88a54e207447d21ec439478cdf
Merged-In: I68523148f4c1dc88a54e207447d21ec439478cdf
Fixes:
79985175
Test: robotests
Fan Zhang [Fri, 25 May 2018 15:49:59 +0000 (15:49 +0000)]
Merge "Update storage header background to colorPrimary" into pi-dev
TreeHugger Robot [Fri, 25 May 2018 15:01:26 +0000 (15:01 +0000)]
Merge "Make summary text update after settings changes" into pi-dev
android-build-team Robot [Fri, 25 May 2018 01:34:38 +0000 (01:34 +0000)]
Merge cherrypicks of [
4189833,
4186953,
4190512,
4190513] into pi-release
Change-Id: Ibf22ddc21efdfafd5256fb8c70d228e8a822724f
Jason Monk [Wed, 23 May 2018 20:10:11 +0000 (16:10 -0400)]
Follow SliceManager API changes
Test: make
Bug:
78898947
Change-Id: I5a46ccafe36ad2e0fdac745606d9907f07a86d0c
(cherry picked from commit
20495a8c367fd793fe8f852694630a919b92184a)
Jason Monk [Fri, 25 May 2018 01:21:35 +0000 (01:21 +0000)]
Merge "Follow SliceManager API changes" into pi-dev
Matthew Fritze [Wed, 23 May 2018 20:03:27 +0000 (13:03 -0700)]
Make summary text update after settings changes
The uri's being pinged when changes happened were incorrect, because
of a hard coded '/'.
Change-Id: I4d04642bc80b97c5191bf0e1e7a5e15a2c58d6c9
Merged-In: I6735c5a60dc7df6894bd17e67d7702a7ec6c07d4
Fixes:
79779837
Test: robotest
Android Build Merger (Role) [Thu, 24 May 2018 18:22:37 +0000 (18:22 +0000)]
[automerger skipped] Merge translations of Bluetooth confirmation text skipped:
e0eeafcb5d skipped:
5b4de5e724 skipped:
cb66517282 skipped:
874c51780f skipped:
551be9a85f skipped:
93ee1bd17e skipped:
30d0145ead skipped:
b9aa0fbfe9
Change-Id: Ib0b9bdb830263bbfb7c81033b388cd9e07e591ef
Android Build Merger (Role) [Thu, 24 May 2018 18:22:35 +0000 (18:22 +0000)]
[automerger skipped] Merge translations of Bluetooth confirmation text skipped:
e0eeafcb5d skipped:
5b4de5e724 skipped:
cb66517282 skipped:
874c51780f skipped:
551be9a85f skipped:
93ee1bd17e skipped:
30d0145ead
Change-Id: I164f89c547721b6b02fcd2bf57b224c92816e25b
Android Build Merger (Role) [Thu, 24 May 2018 18:22:34 +0000 (18:22 +0000)]
[automerger skipped] Merge translations of Bluetooth confirmation text skipped:
e0eeafcb5d skipped:
5b4de5e724 skipped:
cb66517282 skipped:
874c51780f skipped:
551be9a85f skipped:
93ee1bd17e
Change-Id: I72e34eb278333a310cab6845c79f55df50478860
Android Build Merger (Role) [Thu, 24 May 2018 18:22:33 +0000 (18:22 +0000)]
[automerger skipped] Merge translations of Bluetooth confirmation text skipped:
e0eeafcb5d skipped:
5b4de5e724 skipped:
cb66517282 skipped:
874c51780f skipped:
551be9a85f
Change-Id: Ic7873dae0f097a546b250ebcb96cf88a437e1173
Android Build Merger (Role) [Thu, 24 May 2018 18:22:32 +0000 (18:22 +0000)]
[automerger skipped] Merge translations of Bluetooth confirmation text skipped:
e0eeafcb5d skipped:
5b4de5e724 skipped:
cb66517282 skipped:
874c51780f
Change-Id: Ibb61117b7475504a756dafece07c5d79eba0f73f
Android Build Merger (Role) [Thu, 24 May 2018 18:22:30 +0000 (18:22 +0000)]
[automerger skipped] Merge translations of Bluetooth confirmation text skipped:
e0eeafcb5d skipped:
5b4de5e724 skipped:
cb66517282
Change-Id: Ieb0dfe22926f14109466bd00c9cac9ccaa04e057
Android Build Merger (Role) [Thu, 24 May 2018 18:22:29 +0000 (18:22 +0000)]
[automerger skipped] Merge translations of Bluetooth confirmation text skipped:
e0eeafcb5d skipped:
5b4de5e724
Change-Id: I2b731c3a29f4fde5a672c9224008e7be7e460b72
Android Build Merger (Role) [Thu, 24 May 2018 18:22:19 +0000 (18:22 +0000)]
[automerger skipped] Merge translations of Bluetooth confirmation text skipped:
e0eeafcb5d
Change-Id: I1ba9495afe9e105926ad407442d732f2c6e92cf5
Fan Zhang [Thu, 24 May 2018 16:45:24 +0000 (09:45 -0700)]
Update storage header background to colorPrimary
Change-Id: I07f78cc6452846829b92d25fe9c41c6efe40a459
Merged-In: If13d5cbd2bd7db1c6d9c9f840281601ab78ba267
Fixes:
79773433
Test: visual
TreeHugger Robot [Thu, 24 May 2018 17:45:19 +0000 (17:45 +0000)]
Merge "Refactor nfc preference controller" into pi-dev
Matthew Fritze [Wed, 23 May 2018 21:55:11 +0000 (14:55 -0700)]
Add remaining whitelisted controllers
Because I missed them in the long whitelist the first time...
Change-Id: I9fbd7b33e06b3f2f6e5e5778f78abfdb1a52006a
Merged-In: I01c8c80fe306667c1d3ac007b16fad546c5a5f40
Fixes:
79779103
Test: robotests
android-build-team Robot [Thu, 24 May 2018 07:27:58 +0000 (07:27 +0000)]
Snap for
4801384 from
2e0709b3b8d637460232f49836a80da5f612f90b to pi-release
Change-Id: I5954c59bd42debb8cab1a6fa46c71bf5485cbc34
Antony Sargent [Thu, 24 May 2018 06:12:50 +0000 (06:12 +0000)]
Merge "Update sound settings icons" into pi-dev
Antony Sargent [Thu, 24 May 2018 06:11:57 +0000 (06:11 +0000)]
Merge "Refresh several icons" into pi-dev
Antony Sargent [Thu, 24 May 2018 06:09:22 +0000 (06:09 +0000)]
Merge "Refresh system update icon" into pi-dev
Lei Yu [Thu, 24 May 2018 05:12:28 +0000 (05:12 +0000)]
Merge "Update icon for battery saver conditon." into pi-dev
Chihhang Chuang [Thu, 29 Mar 2018 09:26:04 +0000 (17:26 +0800)]
Refactor nfc preference controller
- Remove BaseNfcPreferenceController.
- NfcPreferenceController inherit from TogglePreferenceController.
- AndroidBeamPreferenceController inherit from BasePreferenceController.
- Override getIntentFilter in NfcPreferenceController to listen changes.
- Add an API (hasAsyncUpdate) into BasePreferenceController to
distinguish the setting which is updated asynchronously.
Change-Id: I1abe4410169e305a0d6106e24c54e7f2e763fc91
Merged-In: I7c9c48ea7f1ad01a02524beabf9d30baa3db891f
Fixes:
67997761
Fixes:
74887543
Test: RunSettingsRoboTests
Lucas Dupin [Thu, 24 May 2018 02:15:03 +0000 (02:15 +0000)]
Merge "Setting to change sysui theme" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 01:04:53 +0000 (01:04 +0000)]
Merge "Refresh battery status icons" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 01:03:50 +0000 (01:03 +0000)]
Merge "Updated misc. settings icon" into pi-dev
Petri Gynther [Wed, 23 May 2018 23:59:19 +0000 (23:59 +0000)]
Merge "Set default value of A2DP HW offload toggle" into pi-dev
Antony Sargent [Wed, 23 May 2018 17:15:21 +0000 (10:15 -0700)]
Refresh system update icon
Bug:
77982107
Test: manual
Change-Id: Ifad137b464fce62cbba0f456da4a773f556a1004
Antony Sargent [Wed, 23 May 2018 17:15:21 +0000 (10:15 -0700)]
Refresh several icons
This CL includes the following:
-account
-backup
-display
-folder
-location
-multiuser
-security
Bug:
77982107
Test: manual
Change-Id: I921e20d100bf4b3cb4af7326a5aac2b4e5629196
Antony Sargent [Wed, 23 May 2018 22:34:01 +0000 (15:34 -0700)]
Update sound settings icons
In several places we were referencing private icons from
frameworks/base/core instead of versions we already had in
settings. Also add in a "media stream off" icon to match the one we
already had for "media stream on".
Bug:
77982107
Test: manual (Settings->Sound, then use hardware controls to modify
media and ring volumes)
Change-Id: I3a1d808b3028bb4f2feae4536194dc58c3177a66
Lei Yu [Wed, 23 May 2018 21:54:01 +0000 (14:54 -0700)]
Update icon for battery saver conditon.
To make it consistent with quick settings and battery settings.
Change-Id: I990692b53ee87805d92b93cc874f371e0512154e
Fixes:
80157879
Test: Screenshot
Lucas Dupin [Tue, 22 May 2018 21:27:40 +0000 (14:27 -0700)]
Setting to change sysui theme
Users now can manually pick if they want light or dark QS
and launcher
Change-Id: Iaabdb32d9af6a293dfbd5ba6dea3da1d38a13ad3
Merged-In: Ic0a43bc5e8777c39bfe5c0bbc606bf6be20f7168
Fixes:
63903361
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemUiThemePreferenceControllerTest
Test: manual
TreeHugger Robot [Wed, 23 May 2018 21:49:56 +0000 (21:49 +0000)]
Merge "DO NOT MERGE Handle usageevents for work profile apps" into pi-dev
Jason Monk [Wed, 23 May 2018 20:10:11 +0000 (16:10 -0400)]
Follow SliceManager API changes
Test: make
Bug:
78898947
Change-Id: I5a46ccafe36ad2e0fdac745606d9907f07a86d0c
Jayachandran Chinnakkannu [Wed, 23 May 2018 20:57:30 +0000 (20:57 +0000)]
Merge "Remove connectivity monitor switch from developer options" into pi-dev
Julia Reynolds [Mon, 21 May 2018 18:17:26 +0000 (14:17 -0400)]
DO NOT MERGE Handle usageevents for work profile apps
Test: robotests
Change-Id: Ifdc6e456d76614220b2052e6ca8a8f3676d0e2ee
Fixes:
79142791
TreeHugger Robot [Wed, 23 May 2018 20:41:22 +0000 (20:41 +0000)]
Merge "Hook up blocked keys" into pi-dev
Antony Sargent [Wed, 23 May 2018 18:14:08 +0000 (11:14 -0700)]
Refresh battery status icons
Change-Id: I4835c10135a469c61f641879bb09d366160ff612
Fixes:
80152468
Test: manual
TreeHugger Robot [Wed, 23 May 2018 19:32:41 +0000 (19:32 +0000)]
Merge "Inline slider with header" into pi-dev
Matthew Fritze [Wed, 23 May 2018 19:25:23 +0000 (12:25 -0700)]
Hook up blocked keys
Block any slice in onBind that is the in the blacklist
Change-Id: I9687d07cbfef5fcb94842046bc5dc3296eed4252
Fixes:
80195653
Test: robotests
TreeHugger Robot [Wed, 23 May 2018 18:44:28 +0000 (18:44 +0000)]
Merge "Use standard displayPreference" into pi-dev
Matthew Fritze [Tue, 22 May 2018 13:50:49 +0000 (06:50 -0700)]
Inline slider with header
Add a header to the slider slices to allow for a second line of text.
This is important to add more context to slices outside of settings.
Fixes:
80157462
Test: robotests
Merged-In: Ida90c9377afb19de320dfce54175f51eee088cfe
Change-Id: I1a1be345e84cbd9f300440e6431d4b331d051dac
TreeHugger Robot [Wed, 23 May 2018 18:15:04 +0000 (18:15 +0000)]
Merge "Hide entire hidden field for non-hidden networks" into pi-dev
Antony Sargent [Tue, 13 Feb 2018 00:17:54 +0000 (16:17 -0800)]
Merge translations of Bluetooth confirmation text
This is a manual merge of the translated strings from the master branch
of the 'bluetooth_pairing_shares_phonebook' string. The fix for this bug
requires these translations because the fix was to slightly reword the
confirmation text in the pairing dialog and stop substituting in the
device name
Bug:
62672248
Test: manual
Change-Id: Iab08b43768f0aedd690570eb59dcb71c14c04784
TreeHugger Robot [Wed, 23 May 2018 17:16:48 +0000 (17:16 +0000)]
Merge "Convert BatterySaverButton controller to Slice compatible." into pi-dev
TreeHugger Robot [Wed, 23 May 2018 17:08:29 +0000 (17:08 +0000)]
Merge "Return null when setting can't be changed." into pi-dev
Jayachandran C [Mon, 21 May 2018 23:41:40 +0000 (16:41 -0700)]
Remove connectivity monitor switch from developer options
Test: Verify connectivity monitor switch is no more shown
under developer options
Bug:
79255514
Change-Id: I755885398b92a726b0b979815c33793abe01ea66
Merged-In: I755885398b92a726b0b979815c33793abe01ea66
Julia Reynolds [Wed, 23 May 2018 15:09:34 +0000 (11:09 -0400)]
Use standard displayPreference
For notification fields. This is required for them to
display properly within an 'advanced' preference category.
Test: robotests, manual
Change-Id: I1e1ff0e801e136c6a86a0d9164ed21d4160e897a
Fixes:
80132743
TreeHugger Robot [Wed, 23 May 2018 16:23:09 +0000 (16:23 +0000)]
Merge "Add Location Slice" into pi-dev
Daichi Ueura [Tue, 22 May 2018 09:36:59 +0000 (18:36 +0900)]
Hide entire hidden field for non-hidden networks
This CL hides not just hidden network spinner but entire
hidden field when a user is adding a network from scanned
network list.
Test: robotests
Bug:
80114851
Change-Id: I8b29fd764d62af1e46beaa7d26fae97848f4efe6
Matthew Fritze [Fri, 18 May 2018 17:23:34 +0000 (10:23 -0700)]
Add Location Slice
Location is an intent-only Slice.
Test: Robotests
Change-Id: Ie9ed05be2224f2c4b393ed201d5f313f80183edc
Merged-In: I07e27683b46fe4ded8215009a983bb909555fb59
Fixes:
67997314
Fan Zhang [Tue, 22 May 2018 21:12:32 +0000 (14:12 -0700)]
Convert BatterySaverButton controller to Slice compatible.
- Update preference key to match the key defined in SettingsSlicesContract
- Model TwoStateButtonPreference similar to TwoStatePreference (add
setChecked, isChecked method)
- Remove TwoStateButtonPreferenceController entirely because all methods
are moved into Preference directly for better encapsulation.
- Make BatterySaverButtonPrefController direclty implement
TogglePreferenceController. It was not possible before because the
interface between TwoStateButtonPreferene is too different from
TwoStatePreference.
Bug:
80106671
Test: robotests
Change-Id: Ib72807dcf1b36e959e08df8d80538c3f9f79b76d
Merged-In: Ib72807dcf1b36e959e08df8d80538c3f9f79b76d
TreeHugger Robot [Wed, 23 May 2018 13:26:19 +0000 (13:26 +0000)]
Merge "Clear indexing before adding all Slices" into pi-dev
Chienyuan [Wed, 23 May 2018 11:29:58 +0000 (19:29 +0800)]
Set default value of A2DP HW offload toggle
When developer options is disabled, A2DP HW offload toggle
will switch to default value, we should decide default value
according to A2DP HW offload is supported of not.
Bug:
63932139
Bug:
79568680
Test: robotests
Change-Id: I3bf941edd3c0e0f70cfba32dc856e3f14fee07fa
android-build-team Robot [Wed, 23 May 2018 07:23:50 +0000 (07:23 +0000)]
Snap for
4799153 from
e0e49140d22a6cb6299b94302c79f684d8489778 to pi-release
Change-Id: I02406573629fe9b1e457cc3b48ad6b7c165e3a72
TreeHugger Robot [Wed, 23 May 2018 05:17:28 +0000 (05:17 +0000)]
Merge "Update photo, accessibility, memory, sim, and warning icons" into pi-dev
Antony Sargent [Tue, 22 May 2018 23:25:40 +0000 (16:25 -0700)]
Updated misc. settings icon
This isn't the main app icon, but rather a 24dp version used in a few
miscellaneous places in the app. This also removes the outdated inverse
version of the previous icon since the new version now works in either
context.
Bug:
77982107
Test: manual
Change-Id: Ibd5928895ac1aba52b64a853c4ccd806a2f1de70
TreeHugger Robot [Wed, 23 May 2018 03:24:03 +0000 (03:24 +0000)]
Merge "Update storage, videogame, and vpn icons" into pi-dev
Matthew Fritze [Wed, 23 May 2018 01:24:06 +0000 (18:24 -0700)]
Return null when setting can't be changed.
If a Slice cannot be changed, return null instead of
an error slice.
Bug:
80155832
Test: robotests
Change-Id: I843fee76cf19d49cc994062059cb231f222120b2
Merged-In: Ib94136c449c6d9c1911f89833bba62fd2263daa4
Matthew Fritze [Tue, 22 May 2018 21:26:00 +0000 (14:26 -0700)]
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
TreeHugger Robot [Wed, 23 May 2018 03:00:47 +0000 (03:00 +0000)]
Merge "Update airplane mode key to match framework constant" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 01:02:39 +0000 (01:02 +0000)]
Merge "Factor in PRIVATE_DNS_MODE_DEFAULTSETTING value" into pi-dev
Antony Sargent [Wed, 23 May 2018 00:09:28 +0000 (17:09 -0700)]
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
Matthew Fritze [Tue, 22 May 2018 20:04:38 +0000 (13:04 -0700)]
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
Antony Sargent [Tue, 22 May 2018 21:27:09 +0000 (14:27 -0700)]
Update photo, accessibility, memory, sim, and warning icons
Bug:
77982107
Test: manual
Change-Id: I8076d1f6115b335693413c9177be79c7af9317a5
TreeHugger Robot [Tue, 22 May 2018 23:40:24 +0000 (23:40 +0000)]
Merge "Add isSliceable API to BasePrefController" into pi-dev
Matthew Fritze [Sat, 19 May 2018 00:59:26 +0000 (17:59 -0700)]
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
TreeHugger Robot [Tue, 22 May 2018 22:37:33 +0000 (22:37 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Tue, 22 May 2018 21:31:09 +0000 (21:31 +0000)]
Merge "Make VideoPreference not important for talkback." into pi-dev
Bill Yi [Tue, 22 May 2018 21:13:06 +0000 (14:13 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I06fb64abf52b7fdc00173dbc1ce5cb01cb9fcc61
TreeHugger Robot [Tue, 22 May 2018 17:48:31 +0000 (17:48 +0000)]
Merge "When BT is off hide rename preference" into pi-dev
TreeHugger Robot [Tue, 22 May 2018 16:50:12 +0000 (16:50 +0000)]
Merge "Fix availability status for AOD gestures" into pi-dev
Fan Zhang [Tue, 22 May 2018 16:33:34 +0000 (09:33 -0700)]
Make VideoPreference not important for talkback.
Change-Id: I9856afbd3f5140fa0c426bcc443d2f33e2ffc335
Fixes:
79887358
Test: talkback
hughchen [Mon, 21 May 2018 12:46:57 +0000 (20:46 +0800)]
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
Julia Reynolds [Tue, 22 May 2018 16:09:05 +0000 (16:09 +0000)]
Merge "Fix field reordering on toggle switch" into pi-dev
TreeHugger Robot [Tue, 22 May 2018 15:36:22 +0000 (15:36 +0000)]
Merge "Don't reset channel field when loading the app" into pi-dev
Julia Reynolds [Tue, 22 May 2018 13:09:22 +0000 (09:09 -0400)]
Fix field reordering on toggle switch
Every field needs an explicit order.
Test: manual
Change-Id: Iae533db9e9d240bd0dc14da04a1831fe23005f9e
Fixes:
79749266
Matthew Fritze [Thu, 3 May 2018 22:12:18 +0000 (15:12 -0700)]
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
Julia Reynolds [Tue, 22 May 2018 13:07:46 +0000 (09:07 -0400)]
Don't reset channel field when loading the app
Only save data that's changed.
Change-Id: Iaa8265f543a7c1ec418d9d016986e0a253f28df6
Fixes:
79216856
Test: robo tests
android-build-team Robot [Tue, 22 May 2018 07:27:27 +0000 (07:27 +0000)]
Snap for
4796401 from
4376993a873ecc68a05f6152919b8b3405bdeb76 to pi-release
Change-Id: I209618e244432f13904cf1e094be86b4cd174418
Chia-I Wu [Tue, 22 May 2018 07:09:53 +0000 (07:09 +0000)]
Merge "Show color modes from config_availableColorModes" into pi-dev
TreeHugger Robot [Tue, 22 May 2018 05:22:24 +0000 (05:22 +0000)]
Merge "When restrict, use uid inside AppInfo" into pi-dev
tim peng [Tue, 22 May 2018 04:44:15 +0000 (04:44 +0000)]
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
TreeHugger Robot [Tue, 22 May 2018 03:45:32 +0000 (03:45 +0000)]
Merge "Update music, notifications, device information, and movies icons" into pi-dev
TreeHugger Robot [Tue, 22 May 2018 03:08:15 +0000 (03:08 +0000)]
Merge "Misc GAR fixes" into pi-dev
Chia-I Wu [Thu, 15 Mar 2018 15:35:20 +0000 (08:35 -0700)]
Show color modes from config_availableColorModes
Check config_availableColorModes to decide which color mode options
to show.
Bug:
73824924
Bug:
73825738
Test: 2016, 2017, and 2018 devices
Change-Id: I42915595348061ff4b3f2fdf14753e96dfcb2052
TreeHugger Robot [Tue, 22 May 2018 02:48:34 +0000 (02:48 +0000)]
Merge "Dynamically showing "driving mode"" into pi-dev
timhypeng [Fri, 11 May 2018 07:41:10 +0000 (15:41 +0800)]
Make device discoverable in Connected Devices settings page
* Set preference title by bluetooth state
* Enable bluetooth discoverable mode in Connected device page
* Add more test cases for DiscoverableFooterPreferenceController
Bug:
79294219
Test: make -j50 RunSettingsRoboTests
Change-Id: I6d4f8ec3870c43bf48e9666eabd60068aa8950bb
Merged-In: I6d4f8ec3870c43bf48e9666eabd60068aa8950bb
timhypeng [Fri, 11 May 2018 06:38:22 +0000 (14:38 +0800)]
Add bluetooth discoverable footer preference in connected devices page
* Dynamicly add preference in controller
* Add test cases for DiscoverableFooterPreferenceController
Bug:
79294219
Test: make -j50 RunSettingsRoboTests
Change-Id: Id4c1e86c9a0a0cd69d8106a18f2cf4a0fa31782b
Merged-In: Id4c1e86c9a0a0cd69d8106a18f2cf4a0fa31782b
Lei Yu [Mon, 21 May 2018 20:15:24 +0000 (13:15 -0700)]
When restrict, use uid inside AppInfo
Before this CL, we use packageManager to get uid for battery
restriction. However it may not be correct all the time.
For example, RestrictedAppDetails will be opened as main user
however inside we also show work profile apps, in this case
we can't get correct uid by only using normal API in PackageManager.
This CL change it to use uid from AppInfo, which is correct all
the time.
Bug:
79992590
Test: RunSettingsRoboTests
Change-Id: Id33a5f6409d6bace0d756e5ac06432acb8b2cf65