21193 Commits

Author SHA1 Message Date
Clara Bayarri
a1771110d6 Create Work Challenge per-user condition
Change the current static condition to a per-user condition so we
can check and enable/disable the work challenge properly. Also add
an isAllowed API, as the Work Challenge can only be used when the
user's DPC targets N or above to maintain backwards compatibility.

Change-Id: I0cb8b475838816801868ffb24726407aa257b4de
2016-01-13 10:27:12 +00:00
Jim Miller
1fcd0c2e65 Merge "Fix problem where keyguard shows spontaneously" 2016-01-13 00:49:46 +00:00
Takayuki Hoshi
42d8756798 Merge "Do not show volume expander when there is no touch feature" 2016-01-13 00:47:25 +00:00
Ben Kwa
b0fed2b72e Merge "Embiggen the progress bar." 2016-01-12 21:56:39 +00:00
Ben Kwa
a66cebde23 Embiggen the progress bar.
BUG=26159818

Change-Id: I12a33be503dd29d03cb85b814b287879c016275d
2016-01-12 13:36:44 -08:00
Steve McKay
2e41878000 Merge "Grid view padding + explicit background." 2016-01-12 19:42:41 +00:00
Steve McKay
76be620a6f Grid view padding + explicit background.
Also move section break holder into the wrapper class.

Change-Id: I949e81af180f11514aff558615cfeda44cb96a3c
2016-01-12 11:41:26 -08:00
Filip Gruszczynski
ba2d7e57ab Merge "Pass correct task for retrieving of overview task bounds." 2016-01-12 18:41:19 +00:00
Udam Saini
b6bb986889 Merge "Makes captive portal server calculation in one place." 2016-01-12 18:40:45 +00:00
Sudheer Shanka
9ec29e3d6d Merge "Move restricted padlock support to SettingsLib" 2016-01-12 18:25:00 +00:00
Filip Gruszczynski
b4cc67a3f6 Pass correct task for retrieving of overview task bounds.
This fixes the recents to freeform animation.

Bug: 24913782
Change-Id: I7df32f08c72c86d46d8b25b49bd7e063b8ba214b
2016-01-12 10:23:58 -08:00
Gustav Sennton
32895546c6 Merge "More string resources for WebView implementation setting." 2016-01-12 18:14:45 +00:00
Sudheer Shanka
7ff866d286 Move restricted padlock support to SettingsLib
Change-Id: Ib0b1c58d1f45e017b6b17ce0a55ca839b900cba4
2016-01-12 18:14:24 +00:00
Tony Mantler
231c9fd727 Merge "Move a bunch of app restrictions logic to SettingsLib" 2016-01-12 17:17:00 +00:00
Tony Mantler
e662ca6b5e Move a bunch of app restrictions logic to SettingsLib
Change-Id: I68cd6304164744fd0676d13ef6badffac79adab5
2016-01-12 09:16:21 -08:00
Daichi Hirono
0ec4312475 Merge "Remove unused lines in MtpDocumentsProvider." 2016-01-12 04:23:07 +00:00
Daichi Hirono
d7c46bdec1 Merge "Reland "Add event parameters to MtpEvent."" 2016-01-12 03:20:45 +00:00
Daichi Hirono
2a9a43369b Reland "Add event parameters to MtpEvent."
The CL was previously reviewed at ag/842930.

> We can obtain detailed information of MtpEvent from devices. e.g. object
> handle of changed object.  The CL adds the detailed information as
> properties of MtpEvent class.
>
> BUG=26480986

Change-Id: I93afad9caf118d74cd0923d70242133c4fb2a648
2016-01-12 12:14:30 +09:00
Daichi Hirono
8f124a9a97 Merge "Revert "Add event parameters to MtpEvent."" 2016-01-12 02:34:03 +00:00
Daichi Hirono
497f806350 Revert "Add event parameters to MtpEvent."
This reverts commit 592356b63f7446eec2e521a5649e986582183c49.

Change-Id: I9d5eae69c20c914d7946d4e933ada905f428dcb6
2016-01-12 02:31:48 +00:00
Daichi Hirono
0c66554a9a Merge "Add event parameters to MtpEvent." 2016-01-12 02:27:46 +00:00
Takayuki Hoshi
bb0ec55545 Do not show volume expander when there is no touch feature
Bug: 26099430
Change-Id: Ieeeb896dae824681a9a655849c84200a9f25214d
(cherry picked from commit e49bc6ea98c2eafdcdaedc3f6c9ffbe02ee48628)
2016-01-12 02:23:22 +00:00
Winson Chung
f273418b07 Merge "Snap docked stack after screen rotation" 2016-01-11 23:44:55 +00:00
Steve McKay
da161f0b17 Merge "Fix bug where both list and grid buttons are visible." 2016-01-11 23:33:00 +00:00
Jorim Jaggi
737af724eb Snap docked stack after screen rotation
- Move DividerSnapAlgorithm to com.android.internal, also move
some utility stuff into DividerUtils which is used from both
SystemUI and window manager
- When the screen rotation changes, rotate the stacks like before
but then also snap the docked stack to a valid snap position.

Change-Id: I9e1aa13f42f398a25c9016e6f20395ee212e405b
2016-01-11 23:05:56 +00:00
Aga Wronska
d3b8e52009 Merge "Keep Search View visible after search completed Improve Search View behavior Add Search View background color" 2016-01-11 23:05:43 +00:00
Aga Wronska
97831485e7 Keep Search View visible after search completed
Improve Search View behavior
Add Search View background color

Bug:26143355
Change-Id: Ifdc4bfff56fc6244c571dfbeff4179e1515d53b7
2016-01-11 14:58:18 -08:00
Philip P. Moltmann
e978af63e6 Merge "Do not add far favorite printers more than once." 2016-01-11 20:22:40 +00:00
Philip P. Moltmann
fcb51b8270 Merge "ApprovedServices might be null, handle the case:" 2016-01-11 20:22:10 +00:00
Winson
94a0e89adb Simplifying the task header highlight drawing.
- Removed unused ripple logic in the task header background, simplifying
  the background and highlight drawing
- Calculating the header highlight from the actual task color now
- Preventing some extra work from happening when the task view size
  changes

Change-Id: I775651f4b9ce8c1cdfa6fb3d77fd6912fd99a93b
2016-01-11 20:18:25 +00:00
Winson
ad66efa813 Removing HW layers for task view transitions.
Change-Id: I00377e12d779519bd0fc102480d37382b3ac4ea6
2016-01-11 20:17:16 +00:00
Jim Miller
2967f48f85 Fix problem where keyguard shows spontaneously
A recent change caused keyguard to ignore the sequence number
when calling doKeyguardLaterLocked().

It also appears we can get into a situation where multiple
requests to show keyguard are pending.  This change ensures
only the latest request gets handled.

Fixes bug 26326350

Change-Id: Ic6cba0054fe235a8838ca8c242b1840c9e8309d6
2016-01-11 12:15:31 -08:00
Winson
b94443d876 Fixing regression in initial task bounds animating into Overview.
Change-Id: I09e76c97515dd7e38f8696ac6c48016c9d0a5263
2016-01-11 20:14:03 +00:00
Winson
e6309aa57e Prevent docking via nav bar until user is set up.
- Also prevents docking if screen pinning is currently active.
- Fixes issue where you could go into recents when setting up a 
  secondary user.

Bug: 26438797
Bug: 26316912
Change-Id: I30576b52842b76184ef0b2252bc572f74a5d6db8
2016-01-11 20:13:14 +00:00
Winson
778f495f04 Removing code to animate thumbnail scale now that we animate bounds.
- This CL reverts the code to the previous state where we can just 
  calculate the thumbnail scale from the view bounds.

Change-Id: I156ae915af76055b5177a6bdf0f929bdf6acea01
2016-01-11 20:11:51 +00:00
Philip P. Moltmann
8d978ba1e7 Merge "In rare cases the printing client app might have been dieded before remotePrintDocument.start(). In this case the print spooler should not crash." 2016-01-11 19:41:55 +00:00
Philip P. Moltmann
f7b5018028 Merge "Display toast when print services are disabled." 2016-01-11 19:41:25 +00:00
Jason Monk
c06fbb1298 Move battery saver notification to QS
Remove the battery saver notification and instead create a detail
panel within QS that allows it to be turned on and off.

Change-Id: I54654d26183586fa171fda04877a840701f8ef33
2016-01-11 14:29:23 -05:00
Jeremy Klein
502658dd90 Merge "Add a TETHER_PRIVILEGED permission and use it where needed." 2016-01-11 19:10:22 +00:00
Xiaohui Chen
37a106a31d Merge "sysui: refactor out PanelHolder" 2016-01-11 18:58:14 +00:00
Victor Chan
95b28d8a38 Merge "Null check mRecentsComponent and mDivider." 2016-01-11 18:55:22 +00:00
Winson Chung
d0b0fa16a3 Merge "Revert "Snap docked stack after screen rotation"" 2016-01-11 17:53:40 +00:00
Winson Chung
3dc52ed179 Revert "Snap docked stack after screen rotation"
This reverts commit e65d6bb2072471e63b93aa14a288bc59ed86208f.

Change-Id: I245aa9be3ea98ff742e02b02f6f1d344bc2e8182
2016-01-11 17:53:17 +00:00
Ben Kwa
22f5fce70b Merge "Move the "home" root below the divider." 2016-01-11 17:38:30 +00:00
Jorim Jaggi
e65d6bb207 Snap docked stack after screen rotation
- Move DividerSnapAlgorithm to com.android.internal, also move
some utility stuff into DividerUtils which is used from both
SystemUI and window manager
- When the screen rotation changes, rotate the stacks like before
but then also snap the docked stack to a valid snap position.

Change-Id: Ifb0c65dfbdfca2343a76b12de982c0701fe0c3ab
2016-01-11 16:58:54 +00:00
Geoff Mendal
840cb6d691 Merge "Import translations. DO NOT MERGE" 2016-01-11 14:03:05 +00:00
Geoff Mendal
e8a594bd79 Merge "Import translations. DO NOT MERGE" 2016-01-11 14:02:30 +00:00
Geoff Mendal
73ffe1a9d6 Import translations. DO NOT MERGE
Change-Id: I582f2e3659c92e18880ec1970a42dcb4d9e44cfe
Auto-generated-cl: translation import
2016-01-11 05:59:44 -08:00
Geoff Mendal
b2260b3a31 Import translations. DO NOT MERGE
Change-Id: I0a479b16ae9a28bf6f798f4db4525b7360c40812
Auto-generated-cl: translation import
2016-01-11 05:56:07 -08:00
Geoff Mendal
d7483de165 Import translations. DO NOT MERGE
Change-Id: I519c2c15b3ae10ec47a76de7afff6fea223ba1c9
Auto-generated-cl: translation import
2016-01-11 05:41:24 -08:00