Commit Graph

46711 Commits

Author SHA1 Message Date
Lucas Dupin
74fde3ea31 Setting to change sysui theme
Users now can manually pick if they want light or dark QS
and launcher

Change-Id: Ic0a43bc5e8777c39bfe5c0bbc606bf6be20f7168
Fixes: 63903361
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemUiThemePreferenceControllerTest
Test: manual
2018-05-23 15:20:17 -07:00
Jayachandran Chinnakkannu
433cca7577 Merge "Remove connectivity monitor switch from developer options" into pi-dev
am: 8d7ccc0074

Change-Id: Ic68439308f7d591595876488afa76e57b9414089
2018-05-23 15:12:55 -07:00
Lei Yu
cbc21a3088 Update icon for battery saver conditon.
To make it consistent with quick settings and battery settings.

Change-Id: I990692b53ee87805d92b93cc874f371e0512154e
Fixes: 80157879
Test: Screenshot
2018-05-23 14:56:08 -07:00
Lucas Dupin
b1a2aba01a 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
2018-05-23 21:51:32 +00:00
TreeHugger Robot
718c344daf Merge "DO NOT MERGE Handle usageevents for work profile apps" into pi-dev 2018-05-23 21:49:56 +00:00
Matthew Fritze
a8e1a02bfa Merge "Hook up blocked keys" into pi-dev
am: a60ea38f67

Change-Id: I464e3068051471f05512068bc020866f8d8d8f85
2018-05-23 14:49:32 -07:00
Matthew Fritze
dc001563ae Merge "Inline slider with header" into pi-dev
am: 666ee4fa14

Change-Id: I16c56185628f7dde2a8dbd04bd4b8509163a2fbe
2018-05-23 14:48:51 -07:00
Julia Reynolds
b7bfb04f50 Merge "Use standard displayPreference" into pi-dev
am: eba0723a57

Change-Id: I1394513d9d57577af2a5e0a253ff6ecb548e936d
2018-05-23 14:48:08 -07:00
Daichi Ueura
1a2153e6ab Merge "Hide entire hidden field for non-hidden networks" into pi-dev
am: 2c793dfeff

Change-Id: I3cd2bb7d87e371a8db5b1ea693c424b6314f08f2
2018-05-23 14:47:28 -07:00
Fan Zhang
b82d639f34 Merge "Convert BatterySaverButton controller to Slice compatible." into pi-dev
am: 87dfe60ad0

Change-Id: I30f5d13f0c5f430b09585ad2114f0f1ad98eebc9
2018-05-23 14:46:45 -07:00
Matthew Fritze
9c49a3a20d Merge "Return null when setting can't be changed." into pi-dev
am: c7b90ee998

Change-Id: I3112475e7cbe477f94c129be78d55b430760df75
2018-05-23 14:45:58 -07:00
Matthew Fritze
b8b2c0c265 Merge "Add Location Slice" into pi-dev
am: 53f6b7cb06

Change-Id: I0a18f0a70e9a653acf3fad8bf7c68763aa4d24a3
2018-05-23 14:45:10 -07:00
Matthew Fritze
6f8bfd5fec Merge "Clear indexing before adding all Slices" into pi-dev
am: 842ea91baa

Change-Id: I6a1a0903ac0e7538e013eebe6071d1b7ff496412
2018-05-23 14:44:03 -07:00
Antony Sargent
107242f7b1 Merge "Update photo, accessibility, memory, sim, and warning icons" into pi-dev
am: e0e49140d2

Change-Id: Ie05b424868cfd46dce36b792a4006dd2cce0aeba
2018-05-23 14:43:19 -07:00
Antony Sargent
e3ce1df654 Merge "Update storage, videogame, and vpn icons" into pi-dev
am: 28dc3917a9

Change-Id: I7904f669edc41f2d19369a02bb8efdd360d4445f
2018-05-23 14:41:37 -07:00
Matthew Fritze
73ed33af27 Merge "Update airplane mode key to match framework constant" into pi-dev
am: 6be5e331cf

Change-Id: Ifb10ad7d2dd23359dab8ee1307751a0b49082cbb
2018-05-23 14:40:55 -07:00
Erik Kline
cf83539e1e Merge "Factor in PRIVATE_DNS_MODE_DEFAULTSETTING value" into pi-dev
am: 5a0a7ef4bb

Change-Id: I01f80ccf9c733d280b38250e6735717004cbec1b
2018-05-23 14:25:29 -07:00
Jason Monk
20495a8c36 Follow SliceManager API changes
Test: make
Bug: 78898947
Change-Id: I5a46ccafe36ad2e0fdac745606d9907f07a86d0c
2018-05-23 17:09:03 -04:00
Jayachandran Chinnakkannu
8d7ccc0074 Merge "Remove connectivity monitor switch from developer options" into pi-dev 2018-05-23 20:57:30 +00:00
Julia Reynolds
a30e046597 DO NOT MERGE Handle usageevents for work profile apps
Test: robotests
Change-Id: Ifdc6e456d76614220b2052e6ca8a8f3676d0e2ee
Fixes: 79142791
2018-05-23 20:49:33 +00:00
TreeHugger Robot
a60ea38f67 Merge "Hook up blocked keys" into pi-dev 2018-05-23 20:41:22 +00:00
TreeHugger Robot
9ae99272cf Merge "Update phone vibrate icon in condition card." 2018-05-23 20:35:24 +00:00
Fan Zhang
13c7e68646 Fix a NPE when highlighting fingerprint row.
If fingerprint pref is not bound to UI yet, then its view is null so we
can't do any ripple animation on it.

Change-Id: I0ccca2dfdb471ab520677c6cd206205230959b27
Fixes: 80147956
Test: manual
2018-05-23 20:29:01 +00:00
Antony Sargent
e888cbb88f Refresh battery status icons
Change-Id: I4835c10135a469c61f641879bb09d366160ff612
Fixes: 80152468
Test: manual
2018-05-23 12:47:00 -07:00
TreeHugger Robot
666ee4fa14 Merge "Inline slider with header" into pi-dev 2018-05-23 19:32:41 +00:00
TreeHugger Robot
1cedea2383 Merge "Refactor nfc preference controller" 2018-05-23 19:29:44 +00:00
TreeHugger Robot
93bbca22bf Merge "Inline slider with header" 2018-05-23 19:29:24 +00:00
Matthew Fritze
4242ed2171 Hook up blocked keys
Block any slice in onBind that is the in the blacklist

Change-Id: I9687d07cbfef5fcb94842046bc5dc3296eed4252
Fixes: 80195653
Test: robotests
2018-05-23 12:25:23 -07:00
Fan Zhang
18fb991a8e Update phone vibrate icon in condition card.
Bug: 80157879
Test: visual
Change-Id: I836582056f2da7c7aa379ac84302bf84b398924a
2018-05-23 12:23:45 -07:00
TreeHugger Robot
eba0723a57 Merge "Use standard displayPreference" into pi-dev 2018-05-23 18:44:28 +00:00
Matthew Fritze
250e26aff9 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
2018-05-23 11:28:41 -07:00
Matthew Fritze
647be5fc91 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.

Bug: 80157462
Test: robotests
Change-Id: Ida90c9377afb19de320dfce54175f51eee088cfe
2018-05-23 11:26:54 -07:00
Matthew Fritze
41cbe4b78d [automerger skipped] Merge "Add isSliceable API to BasePrefController" into pi-dev am: ef950c24bd
am: 0cf8b408f9  -s ours

Change-Id: I01a7cd3c08acb13773cd920bc95d5f1dbbdc9297
2018-05-23 11:25:35 -07:00
TreeHugger Robot
2c793dfeff Merge "Hide entire hidden field for non-hidden networks" into pi-dev 2018-05-23 18:15:04 +00:00
Antony Sargent
e0eeafcb5d 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
2018-05-23 18:02:36 +00:00
Matthew Fritze
0cf8b408f9 Merge "Add isSliceable API to BasePrefController" into pi-dev
am: ef950c24bd

Change-Id: Idbcc5c9960270b5713478aa5f22d524dc52fba91
2018-05-23 10:52:35 -07:00
TreeHugger Robot
87dfe60ad0 Merge "Convert BatterySaverButton controller to Slice compatible." into pi-dev 2018-05-23 17:16:48 +00:00
Fan Zhang
6162b04751 Merge "Convert BatterySaverButton controller to Slice compatible." 2018-05-23 17:14:35 +00:00
TreeHugger Robot
c7b90ee998 Merge "Return null when setting can't be changed." into pi-dev 2018-05-23 17:08:29 +00:00
Jayachandran C
f0cc6b754e 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
2018-05-23 16:59:01 +00:00
Jayachandran Chinnakkannu
b7647b9340 Merge "Remove connectivity monitor switch from developer options" 2018-05-23 16:57:56 +00:00
Julia Reynolds
b9676e9076 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
2018-05-23 16:44:44 +00:00
TreeHugger Robot
53f6b7cb06 Merge "Add Location Slice" into pi-dev 2018-05-23 16:23:09 +00:00
Daichi Ueura
9555afb64e 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
2018-05-23 09:18:07 -07:00
TreeHugger Robot
2626288bfa Merge "Return null when setting can't be changed." 2018-05-23 16:01:22 +00:00
Matthew Fritze
e31e60ce94 Add Location Slice
Location is an intent-only Slice.

Test: Robotests
Change-Id: Ie9ed05be2224f2c4b393ed201d5f313f80183edc
Merged-In: I07e27683b46fe4ded8215009a983bb909555fb59
Fixes: 67997314
2018-05-23 08:09:07 -07:00
Fan Zhang
db03de4e80 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
2018-05-23 08:00:41 -07:00
TreeHugger Robot
44a05fbb50 Merge "Add Location Slice" 2018-05-23 13:44:05 +00:00
TreeHugger Robot
842ea91baa Merge "Clear indexing before adding all Slices" into pi-dev 2018-05-23 13:26:19 +00:00
Chienyuan
48668576e4 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
2018-05-23 11:58:59 +00:00