Commit Graph

45297 Commits

Author SHA1 Message Date
Matthew Fritze
8c9e0354b4 Merge "Index database before getting Uri Descendants" into pi-dev am: a7fd137e2d
am: 03f1fafaaf

Change-Id: I700fd063084ad0e41289feb552b3a1bfafd3cd57
2018-04-26 13:36:00 -07:00
Matthew Fritze
03f1fafaaf Merge "Index database before getting Uri Descendants" into pi-dev
am: a7fd137e2d

Change-Id: I88d50fd6157b9a62209e0afa1e6a791974a3c38b
2018-04-26 13:27:18 -07:00
Matthew Fritze
a7fd137e2d Merge "Index database before getting Uri Descendants" into pi-dev 2018-04-26 20:14:53 +00:00
Fan Zhang
117c0fb6e6 Merge "InputMethodAndSubtypeEnabler use DashboardFragment" 2018-04-26 19:12:11 +00:00
Oscar Shu
f64502ea86 Merge "Hide apps with NETWORK_SETTINGS from special wifi settings" into pi-dev am: 0b302499cd
am: 1635941c9a

Change-Id: Ic13938e0f4e876e3dfaea2049f2a7650b53fa8e1
2018-04-26 11:40:09 -07:00
Oscar Shu
1635941c9a Merge "Hide apps with NETWORK_SETTINGS from special wifi settings" into pi-dev
am: 0b302499cd

Change-Id: I1cd33b35066d2dfa4b349dc163a2a16f7f0a123b
2018-04-26 11:25:15 -07:00
Oscar Shu
0b302499cd Merge "Hide apps with NETWORK_SETTINGS from special wifi settings" into pi-dev 2018-04-26 18:16:49 +00:00
Jan Nordqvist
325dd44145 [automerger skipped] Merge "Hiding data remaining text when available space is too small." into pi-dev am: 5f6937dd88
am: 7b0651b63f  -s ours

Change-Id: I51d36b9a8248a2c1047ddd6854d7c6675057c219
2018-04-26 10:53:03 -07:00
Jan Nordqvist
7b0651b63f Merge "Hiding data remaining text when available space is too small." into pi-dev
am: 5f6937dd88

Change-Id: I26b52aa76c4eab8e5240efae826debc74cb73e3e
2018-04-26 10:48:03 -07:00
TreeHugger Robot
5f6937dd88 Merge "Hiding data remaining text when available space is too small." into pi-dev 2018-04-26 17:33:53 +00:00
Sean Callanan
b2218a3071 Merge "Settings: update color mode preview to final content" into pi-dev am: 9b08ed63e9
am: 7187243565

Change-Id: I49aefbb3c01760977e07535dc305921ceb548b6b
2018-04-26 10:20:45 -07:00
Sean Callanan
7187243565 Merge "Settings: update color mode preview to final content" into pi-dev
am: 9b08ed63e9

Change-Id: Ifd93423d8e22f5dc6f44e51db458c553007ffefd
2018-04-26 10:04:44 -07:00
Sean Callanan
9b08ed63e9 Merge "Settings: update color mode preview to final content" into pi-dev 2018-04-26 16:39:51 +00:00
Jason Monk
50e2a99a43 Merge "Fix settings slice caching" into pi-dev am: ab3aa6989a
am: fa5e0ece68

Change-Id: Ia88dc12ead0cab4b335062cba4fbf7db8066e285
2018-04-26 05:56:47 -07:00
Jason Monk
fa5e0ece68 Merge "Fix settings slice caching" into pi-dev
am: ab3aa6989a

Change-Id: I92edb44cecf7bede2b0c4494c6297c94e716d2f3
2018-04-26 05:50:45 -07:00
Jason Monk
ab3aa6989a Merge "Fix settings slice caching" into pi-dev 2018-04-26 12:46:20 +00:00
Fan Zhang
fdc68ece05 [automerger skipped] Merge "Use colorPrimary for search bar and suggestion background" into pi-dev am: a6b773a3e1
am: 237260dfba  -s ours

Change-Id: Icf0c5752f5bb7774383f1bbf591fc5e5284fbd0b
2018-04-25 21:35:54 -07:00
Fan Zhang
237260dfba Merge "Use colorPrimary for search bar and suggestion background" into pi-dev
am: a6b773a3e1

Change-Id: I7780d9b56be0839df3ecd0b9ef74aff3ee29fdc1
2018-04-25 21:31:02 -07:00
TreeHugger Robot
a6b773a3e1 Merge "Use colorPrimary for search bar and suggestion background" into pi-dev 2018-04-26 04:27:30 +00:00
Fan Zhang
60af9d2baf Merge "Implement LifecycleObserver in pulse notif controller." 2018-04-26 02:50:46 +00:00
Fan Zhang
3ba7cd9e02 Merge "Use colorPrimary for search bar and suggestion background" 2018-04-26 02:41:48 +00:00
TreeHugger Robot
e394f908d5 Merge "Replace PackageManagerWrapper with PackageManager" 2018-04-26 02:40:34 +00:00
Sean Callanan
3c1caf7232 Settings: update color mode preview to final content
Content provided based on image selection and optimization
by the graphics team.

Bug: 69264342
Test: hand testing on B1
Change-Id: I12d1fefab2d7a01a44fccb4960d61ee2c6a25017
2018-04-25 19:38:21 -07:00
Fan Zhang
47103ac3de Implement LifecycleObserver in pulse notif controller.
Change-Id: Icb8d55c5a72bc6a8d6566c43e193b7f12377b4c9
Fixes: 74923755
Test: manually run through lifecycle
Test: atest CodeInspectionTest
2018-04-25 18:08:14 -07:00
Antony Sargent
06aaddbc26 Merge "Layout changes for new animation assets" into pi-dev am: 10e91c7e1b
am: 7746cd94e3

Change-Id: I1828a02d9c08a1fd79ec1accdeffb6d4efb3a417
2018-04-25 18:01:30 -07:00
Antony Sargent
7746cd94e3 Merge "Layout changes for new animation assets" into pi-dev
am: 10e91c7e1b

Change-Id: Iac67bda32c2e545480c8d3439f5659f8e1a30f65
2018-04-25 17:52:26 -07:00
TreeHugger Robot
10e91c7e1b Merge "Layout changes for new animation assets" into pi-dev 2018-04-26 00:40:10 +00:00
rafftsai
9bd1ac38c5 InputMethodAndSubtypeEnabler use DashboardFragment
- Move preference log to InputMethodAndSubtypePreferenceController
- Add input_methods_subtype.xml

Test: manual
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.inputmethod
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.core
Test: atest UniquePreferenceTest

Change-Id: I45b6e8303d94ef07d17016eeed1d728432a70d98
2018-04-25 17:34:04 -07:00
xshu
0aabe7f3a8 Hide apps with NETWORK_SETTINGS from special wifi settings
A recent change is made in the wifi framework to allow apps with
NETWORK_SETTINGS permission to bypass checks for the CHANGE_WIFI_STATE
permission. Remove apps with NETWORK_SETTINGS permission from
the list because turning off CHANGE_WIFI_STATE for those apps will not
do anything.

Bug: 78228349
Test: compile, robo test
Manual test:
flash
go to Settings -> Apps & notifications -> Advanced -> Special app access
-> Wi-Fi control
Verify that the "Settings" app is no longer in the list
Top right corner -> show system
Verify that "System UI" is no longer in the list
Change-Id: Ia430a6fb4d5dee534a03609ad1877976204935b2
2018-04-25 16:13:12 -07:00
Matthew Fritze
838d69da50 Index database before getting Uri Descendants
onGetSliceDescendants would return empty results if
the call was made before the database was indexed.
This CL checks the index before building the list.

Change-Id: I2e0f88893138a048dbd529d465d68fa4b1a3dc12
Fixes: 78196823
Test: robotests
2018-04-25 15:53:16 -07:00
Jan Nordqvist
b0802bdcb6 Hiding data remaining text when available space is too small.
Bug: 77799887

Test: manual
Test: make RunSettingsRoboTests
Change-Id: I53390a36e74f9832bdc7757cd67d51064e8a77f3
2018-04-25 15:45:08 -07:00
Antony Sargent
d762ff23a6 Layout changes for new animation assets
The animation videos are changing to have a white background, so we want to
match that in the background color to avoid horizontal bands of the current
grey background color on the edges of the new videos. We're also adding a
divider between the video and the content beneath it.

This CL also includes the new illustration video for the launcher gesture.

Fixes: 77861241
Fixes: 77474484
Test: manual (visit all entries in Settings->System->Gestures, as well as
Settings->Display->Adaptive brightness)

Change-Id: I976782645c9431d40e005960b80353a7da2b89b8
2018-04-25 14:56:58 -07:00
Fan Zhang
0890c337ba Use colorPrimary for search bar and suggestion background
Bug: 78519022
Test: visual
Change-Id: I36b00c689eba1d731e37f8ffb38ab8ee59dba59a
Merged-In: I36b00c689eba1d731e37f8ffb38ab8ee59dba59a
2018-04-25 21:44:16 +00:00
Fan Zhang
04acf2878d [automerger skipped] Merge "Fix a incorrect class cast in GameControllerPreferenceCtrl" into pi-dev am: 5605795526
am: 7d4a11e3d3  -s ours

Change-Id: I65653749d989a051d4cbadc528701c41ec691038
2018-04-25 14:41:59 -07:00
Fan Zhang
97bae973ee Use colorPrimary for search bar and suggestion background
Bug: 78519022
Test: visual
Change-Id: I36b00c689eba1d731e37f8ffb38ab8ee59dba59a
2018-04-25 14:38:53 -07:00
Fan Zhang
7d4a11e3d3 Merge "Fix a incorrect class cast in GameControllerPreferenceCtrl" into pi-dev
am: 5605795526

Change-Id: I82717663e3fb2cd95dd9e4a51839b3d0027440d4
2018-04-25 14:36:26 -07:00
Fan Zhang
5605795526 Merge "Fix a incorrect class cast in GameControllerPreferenceCtrl" into pi-dev 2018-04-25 21:28:15 +00:00
Ivan Chiang
8efbe6e255 Merge "Add DockUpdaterFeatureProvider and DockUpdater." into pi-dev am: 820a26c6bd
am: e7f3afba9d

Change-Id: I0b1e8dd9f23b2077051341a991f309ace42cbb34
2018-04-25 12:43:01 -07:00
Ivan Chiang
e7f3afba9d Merge "Add DockUpdaterFeatureProvider and DockUpdater." into pi-dev
am: 820a26c6bd

Change-Id: Ie77ac8eb096ebfa37445233481ad31d9511c1b7e
2018-04-25 12:36:25 -07:00
Jan Nordqvist
be73af0369 Hiding data remaining text when available space is too small.
Bug: 77799887

Test: manual
Test: make RunSettingsRoboTests
Change-Id: I53390a36e74f9832bdc7757cd67d51064e8a77f3
Merged-In: I53390a36e74f9832bdc7757cd67d51064e8a77f3
2018-04-25 12:30:06 -07:00
TreeHugger Robot
820a26c6bd Merge "Add DockUpdaterFeatureProvider and DockUpdater." into pi-dev 2018-04-25 19:21:56 +00:00
hjchangliao
98015e7c93 Merge "Make Nfc/Beam searchable based on feature availability" into pi-dev am: dc09b3ff49
am: f549cd1e05

Change-Id: Ied4f01787aec0cf8f261483e942615abd1889918
2018-04-25 10:23:11 -07:00
Doris Ling
4333ac1e2e Merge "Fixes crash in security settings." into pi-dev am: abe44c2674
am: c7494be56e

Change-Id: I06db8956a4cb67aa650b7b32dab1c83130d7a97a
2018-04-25 10:22:36 -07:00
hjchangliao
f549cd1e05 Merge "Make Nfc/Beam searchable based on feature availability" into pi-dev
am: dc09b3ff49

Change-Id: I3574ef8d49987b0b94bb2641d15cbf782772e5f7
2018-04-25 10:16:41 -07:00
Doris Ling
c7494be56e Merge "Fixes crash in security settings." into pi-dev
am: abe44c2674

Change-Id: I6d0730a148fbfecaaa4b94e376550af613ad174b
2018-04-25 10:16:05 -07:00
TreeHugger Robot
dc09b3ff49 Merge "Make Nfc/Beam searchable based on feature availability" into pi-dev 2018-04-25 17:13:48 +00:00
hjchangliao
1ff466675d Make Nfc/Beam searchable based on feature availability
Update logic of updateNonIndexableKeys,
in BaseNfcPreferenceController to fix issue.
Add robotest to avoid same problem.

Change-Id: I1de5324b5a7147ff58e3c366ee7e8cf858e3283c
Fixes: 78540155
Test: make RunSettingsRoboTests
2018-04-25 17:12:33 +00:00
Doris Ling
abe44c2674 Merge "Fixes crash in security settings." into pi-dev 2018-04-25 17:05:18 +00:00
Fan Zhang
c5655d4a5e Fix a incorrect class cast in GameControllerPreferenceCtrl
Also convert the controller to TogglePrefCtrl, and register it in xml.

Change-Id: Ifbc95364b47690117b2875cba1cdc4761ad205be
Merged-In: Ifbc95364b47690117b2875cba1cdc4761ad205be
Fixes: 71972185
Test: make RunSettingsRoboTests
2018-04-25 09:08:24 -07:00
Fan Zhang
ca44caa663 Merge "Update brightness percentage display logic to match sysui." into pi-dev am: 69d12406f0
am: e9045a7a41

Change-Id: I20c27b31caa7a44b6d114780a0b7b18206f75d12
2018-04-25 08:25:54 -07:00