7091 Commits

Author SHA1 Message Date
Selim Cinek
e52abb3e91 Adapted HUN behavior when swiping vertically
It's not dismissed anymore but pushed into the shade
when swiping up.
Also, when swiping down, we now dimiss the HUN.

Bug: 15594813
Change-Id: I0b6a761bebbe281e31bf3b1e20704e2e5da07861
2014-11-05 18:12:27 +01:00
Selim Cinek
9bd9d0c96a Fixed a bug where the HUNs were not clickable
Also improved the edgeswipehelper to use 45 degree
touch disambiguation.

Bug: 18102199
Change-Id: I153e094d5d86439ae048137fc5eac47966b12ca5
2014-11-05 18:12:27 +01:00
Selim Cinek
1a521f3ea8 Fixed a bug that the notifications were not animating when reset
Also made sure that the touch event is never filtered when its a
heads up view.

Bug: 18188693
Change-Id: Ic5de3e36c785d2cf890936322820b739a0a1b107
2014-11-05 18:12:15 +01:00
Jorim Jaggi
80a28fe8d6 Merge "Fix janky in transition doze -> lockscreen" into lmp-mr1-dev
automerge: 09ba32c

* commit '09ba32c0ba9306bafa25e27a2fa7d6e53e9be715':
  Fix janky in transition doze -> lockscreen
2014-11-05 16:37:13 +00:00
Jorim Jaggi
09ba32c0ba Merge "Fix janky in transition doze -> lockscreen" into lmp-mr1-dev 2014-11-05 16:17:33 +00:00
John Spurlock
513f260200 Merge "Zen: Create a new exit condition for "next alarm"." into lmp-mr1-dev
automerge: 0bdefb9

* commit '0bdefb9953fd51c86f81a6033a00926a63916065':
  Zen: Create a new exit condition for "next alarm".
2014-11-05 15:20:12 +00:00
John Spurlock
055acca7c8 Merge "QS: Toggle tile icon animations." into lmp-mr1-dev
automerge: 2face5e

* commit '2face5e2e86cb7850c2ce67306f5aad04af6f597':
  QS: Toggle tile icon animations.
2014-11-05 15:19:02 +00:00
Adrian Roos
874b35b836 Round charging indication to nearest minute
Bug: 18177374
Change-Id: I4eb7fcac83398a4d8432bf092d8d91506646b5a1
2014-11-05 16:11:10 +01:00
John Spurlock
0bdefb9953 Merge "Zen: Create a new exit condition for "next alarm"." into lmp-mr1-dev 2014-11-05 14:47:20 +00:00
John Spurlock
c6df3cf273 QS: Toggle tile icon animations.
- New location tile icon animation.
 - New flashlight tile icon animation.
 - New airplane-mode tile icon animation.
 - New color inversion tile icon animation.
 - Remove obsolete static icons.

Bug: 17426910
Change-Id: I51c98979afd46f4cdfc2fd383e80d7bf13c5eeab
2014-11-05 09:20:16 -05:00
Jorim Jaggi
3e9d9b5953 Fix janky in transition doze -> lockscreen
Also fix some unnecessary layer creation for dismiss button.

Bug: 18238168
Change-Id: I71989f2a24162e4453781c07e50d6c25fb380089
2014-11-05 15:08:15 +01:00
John Spurlock
37bc92cc23 Zen: Create a new exit condition for "next alarm".
- If the user's next alarm is in the next 12 hrs, provide
this as an exit condition trigger for leaving none/priority.
- Don't display the next alarm condition when downtime is active.
- When the next-alarm exit condition is active, follow changes
to the next alarm, assuming it remains within the 12-hr window.
- Tweak the downtime condition strings to be consistent.

Bug: 16373455
Change-Id: I4020b91d323dead998e62d655132eca07438b148
2014-11-05 08:46:01 -05:00
Wale Ogunwale
e54553c841 am d54b578e: Fix issue #17305377: Don\'t kill process if it still has tasks.
* commit 'd54b578e47fb410c776bb3a4272c2c523153f657':
  Fix issue #17305377: Don't kill process if it still has tasks.
2014-11-04 19:06:11 +00:00
Wale Ogunwale
d54b578e47 Fix issue #17305377: Don't kill process if it still has tasks.
We previously killed a process when one of its task was
swiped away in the recents UI. This had negative performance
implications for apps with multiple tasks in recents. Now we
will only kill the process if there are no more tasks associated
with it.

Changed also removes the need for the
ActivityManager.REMOVE_TASK_KILL_PROCESS since ActivityManager
will now only kill a task process if it process has no out
standing tasks.

Bug: 17305377
Change-Id: Ibc39bb328d13c7eab05c04798c2f14887923d9d4
2014-11-04 10:59:31 -08:00
Jorim Jaggi
534495c7a9 am 6fd88022: Merge "Fix jump in two-finger expand motion with no notifications" into lmp-mr1-dev
* commit '6fd88022c286730b6f17917dff2d9dd2d74bbfee':
  Fix jump in two-finger expand motion with no notifications
2014-11-04 16:58:23 +00:00
Jorim Jaggi
6fd88022c2 Merge "Fix jump in two-finger expand motion with no notifications" into lmp-mr1-dev 2014-11-04 16:54:12 +00:00
John Spurlock
df80f1c92b am 8c4aad50: Merge "QS: Create the tile background once per tile." into lmp-mr1-dev
* commit '8c4aad505a0034b89abbdd7e11c18ffe11756c5f':
  QS: Create the tile background once per tile.
2014-11-04 16:30:01 +00:00
John Spurlock
8c4aad505a Merge "QS: Create the tile background once per tile." into lmp-mr1-dev 2014-11-04 16:26:14 +00:00
Jorim Jaggi
0cce70c9fa Fix jump in two-finger expand motion with no notifications
Bug: 18185048
Change-Id: Ib54789e45b7b68a5fc9d6056cb53de23b2be3260
2014-11-04 16:13:41 +01:00
John Spurlock
31798f17b1 QS: Create the tile background once per tile.
Bug: 18219320
Change-Id: I15cbb7623c3e81b724fb0c4e830ae4e6615552dc
2014-11-04 09:41:32 -05:00
Jorim Jaggi
b1be947a70 am 1482b053: Merge "Update QS tile states after unlocking" into lmp-mr1-dev
* commit '1482b0535e1708fbf9914946abe59c36f39633e7':
  Update QS tile states after unlocking
2014-11-04 14:37:38 +00:00
Jorim Jaggi
cd1752eee6 am 8289301c: Merge "Always update quick settings header translation in onLayout" into lmp-mr1-dev
* commit '8289301c74ffb0076d993dc58cb05fa0e2ed2ff6':
  Always update quick settings header translation in onLayout
2014-11-04 14:33:01 +00:00
Jorim Jaggi
1482b0535e Merge "Update QS tile states after unlocking" into lmp-mr1-dev 2014-11-04 14:31:46 +00:00
Adrian Roos
c2a809b1af am ad3bc7f8: Fix a keyguard charging status
* commit 'ad3bc7f878ace1a0eb6f73466d55d9d7b060e48c':
  Fix a keyguard charging status
2014-11-04 14:28:36 +00:00
Adrian Roos
ead47adcb6 am c0f0a747: Fix low profile bar mode for Material themed apps
* commit 'c0f0a74762f7b3651d0fcd8371e9eb0c84779b1a':
  Fix low profile bar mode for Material themed apps
2014-11-04 14:28:31 +00:00
Jorim Jaggi
8289301c74 Merge "Always update quick settings header translation in onLayout" into lmp-mr1-dev 2014-11-04 14:27:50 +00:00
Adrian Roos
ad3bc7f878 Fix a keyguard charging status
Fixes a bug where the keyguard was showing
a charging state even though the device was
not plugged in.

Bug: 18166083
Change-Id: I85a2cda674ffdafb37df70598f4028414a639def
2014-11-04 14:18:16 +00:00
Adrian Roos
c0f0a74762 Fix low profile bar mode for Material themed apps
Bug: 17691219
Change-Id: I1b1fb2e831e5d4c41073bb4db0793bf66468c4c4
2014-11-04 14:16:16 +00:00
John Spurlock
dde73641fd am d94017b0: Merge "QS: New rotation-lock tile icon, using AVDs." into lmp-mr1-dev
* commit 'd94017b0c26471461f668badb2584df0026da1a8':
  QS: New rotation-lock tile icon, using AVDs.
2014-11-04 12:19:24 +00:00
John Spurlock
d94017b0c2 Merge "QS: New rotation-lock tile icon, using AVDs." into lmp-mr1-dev 2014-11-04 12:15:10 +00:00
John Spurlock
2d695813b4 QS: New rotation-lock tile icon, using AVDs.
Also:
 - Better icon change detection, unify tile.icon vs tile.iconId.
 - Fix regression in touch feedback by fixing a11y string calculation.

Bug: 17426910
Change-Id: I14772f4e9b3be127bc39106ae9146ed46488fa48
2014-11-03 19:08:39 -05:00
Jorim Jaggi
61059fe82c Merge "Only hide sensitive content when Keyguard is showing" into lmp-mr1-dev
automerge: 3c7efdc

* commit '3c7efdc00506e6561ca08933f0b2acf5e3f16b02':
  Only hide sensitive content when Keyguard is showing
2014-11-03 23:27:18 +00:00
Jorim Jaggi
3c7efdc005 Merge "Only hide sensitive content when Keyguard is showing" into lmp-mr1-dev 2014-11-03 22:38:34 +00:00
Jorim Jaggi
ec705c2c58 Only hide sensitive content when Keyguard is showing
isOccluded is set delayed when unlocking the phone from a
notification, so updatePublicMode used a stale state. Now, only
the fact whether the Keyguard is showing (no matter if occluded or
not) is used to determine the public mode, which is set in a
synchronous manner.

Bug: 18026898
Change-Id: I3e4988f3e806cf15616ee5aa452f81f19d4aa716
2014-11-03 22:08:05 +01:00
Jim Miller
ff25dd06a3 am 12b239e6: Merge "Fix SetupWizard black screen issue for EDU devices" into lmp-mr1-dev
* commit '12b239e6d39ad5a35f68e7bcd5f644a793b5cb74':
  Fix SetupWizard black screen issue for EDU devices
2014-11-03 20:00:43 +00:00
Jim Miller
12b239e6d3 Merge "Fix SetupWizard black screen issue for EDU devices" into lmp-mr1-dev 2014-11-03 19:51:53 +00:00
Geoff Mendal
6bdbebadad Merge "Import translations. DO NOT MERGE" into lmp-mr1-ub-dev 2014-11-03 17:52:57 +00:00
Geoff Mendal
ef8c3cc4f6 Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-11-03 17:52:11 +00:00
Geoff Mendal
b47c651ef7 Import translations. DO NOT MERGE
Change-Id: Ic1fb3518c1b06345d69abacb9164ae4a52dcf270
Auto-generated-cl: translation import
2014-11-03 09:07:58 -08:00
Geoff Mendal
d2c26c9d7f Import translations. DO NOT MERGE
Change-Id: I21e1890c7ff4490469fb0243df69b560db9b29b6
Auto-generated-cl: translation import
2014-11-03 09:06:30 -08:00
Jorim Jaggi
1ecd7cd58e Update QS tile states after unlocking
So the visibility state is up-to-date when we do a two-finger
expansion gesture, so the height is correct. Also fixes flickering
when overscrolling the initial panel expansion.

Also set thread priority of QS handler thread to background priority,
so it doesn't eat away precious cycles during animations.

Bug: 18183633
Change-Id: I0609509484582d82f0dc307eb2535bc3711b30e3
2014-11-03 16:19:27 +01:00
Adrian Roos
8af07f4717 am 862d72e2: Merge "Improve dump of status bar service" into lmp-mr1-dev
* commit '862d72e2f4e600d6188f5a21a906d5374ab4f123':
  Improve dump of status bar service
2014-11-03 15:00:43 +00:00
Adrian Roos
862d72e2f4 Merge "Improve dump of status bar service" into lmp-mr1-dev 2014-11-03 14:56:48 +00:00
Christoph Studer
d99ae19303 am f3aa1c8d: Merge "SysUI: Use mScreenOnFromKeyguard for panel visibility" into lmp-mr1-dev
* commit 'f3aa1c8d7915afd51d21bf79feb2285dffcc3827':
  SysUI: Use mScreenOnFromKeyguard for panel visibility
2014-11-03 14:55:06 +00:00
Jorim Jaggi
0bc4917c19 Always update quick settings header translation in onLayout
Bug: 16887664
Change-Id: Ida110877d63c74d38d80a627621320cda26c97a7
2014-11-03 15:52:13 +01:00
Christoph Studer
f3aa1c8d79 Merge "SysUI: Use mScreenOnFromKeyguard for panel visibility" into lmp-mr1-dev 2014-11-03 14:49:17 +00:00
Jim Miller
b256e4e209 Fix SetupWizard black screen issue for EDU devices
This fixes a problem where EDU devices show a black screen if
the device is rebooted after setting a pin/pattern/password but
before completing SetupWizard.

The issue is that the system doesn't expect to see a state
where the device is not provisioned but has a pin/pattern/password
because it wasn't possible before. With the addition of the ability
for EDU devices to add a pin/pattern/password, we can now get
into this unforseen state.

The fix ignores provisioning if a password is set so that the
user can reach the security screen to unlock the device and
continue with SetupWizard.

Fixes bug 18022051

Change-Id: Ie88a75530d964c02458c25866f0629877214edf4
2014-10-31 18:06:40 -07:00
Chris Wren
c5f1ee3dd1 am b9144cea: Merge "Clear the initialized flag when resetting the height." into lmp-mr1-dev
* commit 'b9144cea5184c90534db75b47e3818a688e64d5b':
  Clear the initialized flag when resetting the height.
2014-10-31 19:15:20 +00:00
Chris Wren
b9144cea51 Merge "Clear the initialized flag when resetting the height." into lmp-mr1-dev 2014-10-31 19:10:53 +00:00
John Spurlock
44c534d88a am 404658ee: Merge "Update 1-bar status bar / qs icons." into lmp-mr1-dev
* commit '404658eee9ec7c84dc070b018d7fcfa94bb8f83f':
  Update 1-bar status bar / qs icons.
2014-10-31 19:05:12 +00:00