Commit Graph

45678 Commits

Author SHA1 Message Date
Lei Yu
59ba07c2da Merge "Hook up Adaptive Battery to new flag." into pi-dev
am: d2e9b56996

Change-Id: I643e48d47eba103ad24b26c0a425fd9c61b7aacf
2018-04-26 15:26:50 -07:00
Jason Monk
8ead7e26f2 Merge "Add auto-granting of slice permissions" into pi-dev
am: f778a91a88

Change-Id: Ia4a1f22daca16324c23e401df8bc674ddc33e3d1
2018-04-26 15:26:14 -07:00
Jeff Sharkey
3595870fa8 Merge "Increase volume search timeout, fix dialog flow." into pi-dev
am: 2e3aacaa7a

Change-Id: If026407618907cbbb6ccd456e5fb9fcea5c13826
2018-04-26 15:25:05 -07:00
Lei Yu
1c95856977 Fix crash in anomaly job service
If job has been stopped by any reason, we should cancel the background
thread, otherwise it will throw SecurityException when dequeuing from
JobParams.

This CL adds a lock to synchronize the method and stops dequeue work
if job has been canceled.

Change-Id: I7732b7f7d444a55a4b4ba6645cd2c16b6f840a6c
Merged-In: I7732b7f7d444a55a4b4ba6645cd2c16b6f840a6c
Fixes: 77968649
Test: RunSettingsRoboTests
2018-04-26 15:23:33 -07:00
tmfang
1f37d190c0 Slices feature supports firmware version.
- Migrate FirmwareVersionPreferenceController to BasePreferenceController class.
- Because slices feature needs an unique uri,
  we should avoid same firmware key in my_device_info.xml and device_info_settings.xml.
- Modify test case for new firmware version controller.

Test: slice uri > content://android.settings.slices/intent/my_device_firmware_version
Test: make RunSettingsRoboTests -j
      atest UniquePreferenceTest SettingsGatewayTest
Change-Id: If516bbdb3ddb823db9909123ef694a2beaf5dc66
2018-04-26 15:22:01 -07:00
Lei Yu
3f34ce9a5b Merge "Don't show high usage tip when device is charing" into pi-dev 2018-04-26 22:08:55 +00:00
Lei Yu
d2e9b56996 Merge "Hook up Adaptive Battery to new flag." into pi-dev 2018-04-26 22:07:53 +00:00
Jason Monk
f778a91a88 Merge "Add auto-granting of slice permissions" into pi-dev 2018-04-26 22:05:19 +00:00
sunnyshao
c624663312 Modified the AirplaneModePreferenceController for slice
- Updated the AirplaneModePreferenceController for slice feature
- Updated the AirplaneModeEnabler for slice feature

Fixes: 78645242
Test: manual
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.network
      make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.core
      make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.dashboard
      atest UniquePreferenceTest SettingsGatewayTest

Change-Id: I4afbc666f916570d648ad2b33ebb25924024e9f1
2018-04-26 14:49:04 -07:00
Salvador Martinez
60c513d908 Merge "Only start tether when not already enabled" into pi-dev am: f62f91b0b6
am: 964d107491

Change-Id: I0d325498e2ea8526fbc4e6ec4bf579331bf0848b
2018-04-26 14:30:25 -07:00
TreeHugger Robot
2e3aacaa7a Merge "Increase volume search timeout, fix dialog flow." into pi-dev 2018-04-26 21:28:16 +00:00
Jason Monk
0d3322a57b Merge "Push full slice index to device index" into pi-dev am: 3d29ca2893
am: 2332aad2a6

Change-Id: I3563eb7ed2ab93b35b1a950d89ca2466abaa59e3
2018-04-26 14:26:38 -07:00
Salvador Martinez
964d107491 Merge "Only start tether when not already enabled" into pi-dev
am: f62f91b0b6

Change-Id: If28a47b85fab06484298196305e862759998a72f
2018-04-26 14:15:25 -07:00
Jason Monk
2332aad2a6 Merge "Push full slice index to device index" into pi-dev
am: 3d29ca2893

Change-Id: I51d4b2d8a271460215f0d489a372932fca5b3d8b
2018-04-26 14:08:36 -07:00
TreeHugger Robot
f62f91b0b6 Merge "Only start tether when not already enabled" into pi-dev 2018-04-26 20:57:57 +00:00
Jason Monk
3d29ca2893 Merge "Push full slice index to device index" into pi-dev 2018-04-26 20:48:41 +00:00
Antony Sargent
86e6366f61 Updated play button icon for paused animations
The current play button is mostly white and hard to see with the new
animation videos. This updates it to one which has more blue to stand
out better.

Fixes: 78306799
Test: manual (while watching one of the animations at Settings -> System
-> Gestures; tap the video to pause)
Change-Id: I48deb6c35eccb3ecd21f2aa6dcc3d275c7436f47
2018-04-26 13:46:45 -07:00
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
Julia Reynolds
4aa42fed67 Redesign zen visual effects screens
Test: robotests
Bug: 78448988
Change-Id: I3040c1103d76c75601e82e3660a2ace202837ec2
2018-04-26 18:12:38 +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
Salvador Martinez
a4fe5c9871 Only start tether when not already enabled
The toggle in the tether page currently tries to start tethering if
it gets turned on. However, changing a wifi config can cause
startTether to be called and also the toggle to switch leading to
a double call to startTether. This CL makes it so that if we are
already connected to tethering we don't try to start it again.

Test: robotests
Change-Id: I91085244c5d1fcc245a6b6480e638a32bc14f0ac
Fixes: 78028548
Fixes: 78441216
Fixes: 74368363
2018-04-26 10:14:54 -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
fcd5f0f1aa Push full slice index to device index
Test: make RunSettingsRoboTests
Bug: 74555610
Change-Id: I3f0aa1218e1d7e736dc918d83e76423fa81ac6ab
2018-04-26 11:16:04 -04: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
Ivan Chiang
6b76e34768 Show docks on previously connected devices page
Implement previously connected Dock Devices part into
SavedDeviceGroupController.

Bug: 78095209
Test: m -j SettingsRoboTests RunSettingsRoboTests
Change-Id: I3dd318556167c98bc90c0c1c7281804177b9ff74
2018-04-26 16:45:16 +08:00
Ivan Chiang
98e37691c4 Show Dock devices in Connected devices page
Implement Connected Dock Devices part into
ConnectedDeviceGroupController.

Bug: 77945034
Test: m -j SettingsRoboTests RunSettingsRoboTests
Change-Id: Id5a75217f64d84038222604fca40613361e6f45d
2018-04-26 16:45:16 +08: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
Maurice Lam
0283372fc2 Hide cancel button in Confirm Lock Pattern
Test: Manual
Bug: 77790615
Bug: 77565685
Change-Id: Ic3a12d169be037376f040dd1129678e814760091
2018-04-25 19:57:24 -07: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