158987 Commits

Author SHA1 Message Date
Selim Cinek
087c96f8c9 am 04675730: Merge "Improved the dismiss all animation" into lmp-mr1-dev
* commit '046757300c0a9b2043ff71e49bc3be50d5279443':
  Improved the dismiss all animation
2014-11-12 16:29:19 +00:00
Selim Cinek
046757300c Merge "Improved the dismiss all animation" into lmp-mr1-dev 2014-11-12 16:26:22 +00:00
Selim Cinek
a89c8fe7ee am 9852ecd6: Merge "Fixed a bug where the clearable flag was set inconsistently" into lmp-mr1-dev
* commit '9852ecd6378be67c36010b415cffbc852e6a265f':
  Fixed a bug where the clearable flag was set inconsistently
2014-11-12 16:16:14 +00:00
Selim Cinek
5b560f57a9 am 29685c2f: Merge "Added dissapear animation to pattern and pin input" into lmp-mr1-dev
* commit '29685c2fde7b3c3cc57994e61915321902b16246':
  Added dissapear animation to pattern and pin input
2014-11-12 16:16:09 +00:00
Selim Cinek
9852ecd637 Merge "Fixed a bug where the clearable flag was set inconsistently" into lmp-mr1-dev 2014-11-12 16:13:07 +00:00
Selim Cinek
29685c2fde Merge "Added dissapear animation to pattern and pin input" into lmp-mr1-dev 2014-11-12 16:12:13 +00:00
Jorim Jaggi
bd70ed1de2 am a816a075: Merge "Improve lockscreen launch animations" into lmp-mr1-dev
* commit 'a816a075066b7f90635d81918a7af9bc7a76e47f':
  Improve lockscreen launch animations
2014-11-12 15:51:56 +00:00
Jorim Jaggi
4c3133a2d1 am cb326240: Merge "Correctly handle launch animations for affordances" into lmp-mr1-dev
* commit 'cb3262403420417f355aacde93e0e43493e510f6':
  Correctly handle launch animations for affordances
2014-11-12 15:51:51 +00:00
Jorim Jaggi
d04f864cae am b9eedce2: Merge "Fix lockscreen launch animations once and for all" into lmp-mr1-dev
* commit 'b9eedce21a460ad26175391e6c9c9e3ca369bafb':
  Fix lockscreen launch animations once and for all
2014-11-12 15:51:46 +00:00
Jorim Jaggi
a816a07506 Merge "Improve lockscreen launch animations" into lmp-mr1-dev 2014-11-12 15:48:27 +00:00
Jorim Jaggi
cb32624034 Merge "Correctly handle launch animations for affordances" into lmp-mr1-dev 2014-11-12 15:47:57 +00:00
Jorim Jaggi
b9eedce21a Merge "Fix lockscreen launch animations once and for all" into lmp-mr1-dev 2014-11-12 15:47:38 +00:00
George Mount
57837b9fc6 am 13b27810: Merge "Remove unnecessary reflection lookup in Animators." into lmp-mr1-dev
* commit '13b27810f990ea57decfcde98ddd461b8c0b9936':
  Remove unnecessary reflection lookup in Animators.
2014-11-12 15:45:15 +00:00
George Mount
13b27810f9 Merge "Remove unnecessary reflection lookup in Animators." into lmp-mr1-dev 2014-11-12 15:42:21 +00:00
Geoff Mendal
91ca496c2e Merge "Import translations. DO NOT MERGE" into lmp-mr1-ub-dev 2014-11-12 14:56:24 +00:00
Geoff Mendal
7c7bc451d0 Import translations. DO NOT MERGE
Change-Id: I3b1b01abb6e4575dd5e28217f3a5727c5a3a64fc
Auto-generated-cl: translation import
2014-11-12 06:52:59 -08:00
Geoff Mendal
1e8178aa12 am 6b6c6264: (-s ours) Import translations. DO NOT MERGE
* commit '6b6c626440a434f2fd4f90fd3d810a78bb8acaf9':
  Import translations. DO NOT MERGE
2014-11-12 14:51:05 +00:00
Geoff Mendal
6b6c626440 Import translations. DO NOT MERGE
Change-Id: I1d3ed380c4223bdb6bc2b3d4def0f270a8035b80
Auto-generated-cl: translation import
2014-11-12 06:44:26 -08:00
Jorim Jaggi
f8d77da969 Improve lockscreen launch animations
- Add a timeout so if WindowManager "forgets" to tell that the
activity has drawn, we still unlock after 3 seconds, so the user
is not completely stuck.

- Use the screen height instead of the window height for the
translation animation.

- Don't run the animation if the attached window is not null. The
animation from the attached window will influence the transformation
as well, so there is no need to run an additional animation in this
case (apps with SurfaceView's had broken unlock transitions because
of this).

- If the starting window needs to go away while the unlock transition
is running, modify the existing animation such that it fades out in
the same transition.

Bug: 15991916
Change-Id: Ia5dfa31e1bc0d5745fe228e1daf08e268733b6f1
2014-11-12 15:02:33 +01:00
Jorim Jaggi
d6f440e0ff Correctly handle launch animations for affordances
Bug: 15991916
Change-Id: I019d28b960bc74f3c0f05081bea4a303b16df204
2014-11-12 15:02:19 +01:00
Jorim Jaggi
44f60cca7b Fix lockscreen launch animations once and for all
In SysUI, make sure not to dismiss Keyguard multiple times when just
waiting for a deferred dismissal, so WindowManager doesn't get
multiple calls to keyguardGoingAway.

Change heuristics how notifying Keyguard about activity drawn works.
Always notify Keyguard after executing an app transition, and notify
it also when not doing a transition after a startActivity call.

For that to work, update AppWindowToken.startingDisplayed also when
the window is displayed, but force hidden because of Keyguard.

Further, handle the case correctly when a window gets added during
the Keyguard exit animation by overriding the start time for the
animation of that new window. Also don't apply a transition animation
for a window when executing keyguard exit animation, so by removing
a starting window we don't break this animation.

Last but not least, tell Keyguard to start exiting immediately if
animations for exiting are disabled, like when going to phone/camera
on lockscreen. Before, we always had a delay of 1 second because we
waited for the timeout.

Bug: 1599196
Bug: 18272544
Change-Id: I596b2489f814b934abd256e16079d3d3f326e209
2014-11-12 15:02:05 +01:00
Selim Cinek
f9c0e8f02f Added dissapear animation to pattern and pin input
Bug: 18232017
Change-Id: I062d55b0870ccaad6093b672f5076c3f80c10f94
2014-11-12 14:48:48 +01:00
Narayan Kamath
c83443b43a am ccfe6bd4: Merge "Remove unused local field." into lmp-mr1-dev
* commit 'ccfe6bd479acc41e018bd38c4021614dc9326fbf':
  Remove unused local field.
2014-11-12 13:35:11 +00:00
Narayan Kamath
ccfe6bd479 Merge "Remove unused local field." into lmp-mr1-dev 2014-11-12 13:30:18 +00:00
Narayan Kamath
72f9838c99 am 222722ee: Merge "Tell installd when boot completes." into lmp-mr1-dev
* commit '222722ee73c38dea5544118df6bd349e630d1c26':
  Tell installd when boot completes.
2014-11-12 12:52:21 +00:00
Narayan Kamath
222722ee73 Merge "Tell installd when boot completes." into lmp-mr1-dev 2014-11-12 12:48:22 +00:00
Adrian Roos
36d059f9d9 am 138b8334: Obliterate LockPatternUtilsCache
* commit '138b83347b8da29166ee2eb09fa8126686bda3c7':
  Obliterate LockPatternUtilsCache
2014-11-12 11:33:11 +00:00
Adrian Roos
2b95837988 am fc29e0b5: Properly destroy TrustAgentWrapper when not bound
* commit 'fc29e0b5829034d9c0a60882d2a21606b2f513b1':
  Properly destroy TrustAgentWrapper when not bound
2014-11-12 11:33:05 +00:00
Adrian Roos
138b83347b Obliterate LockPatternUtilsCache
It is disabled dead code already and not useful anymore
with the new caching in LockSettingsService.

Bug: 18163444
Change-Id: Icc184e923e0fbeab31ed128336c01f835b24c6f2
2014-11-12 11:31:38 +00:00
Adrian Roos
fc29e0b582 Properly destroy TrustAgentWrapper when not bound
Also fixes a potential issue where refreshing agents
for a user that no longer exists would result in a crash.

Bug: 18318629
Change-Id: I3589ea7e0f2e63fca02daeecf3ca964a8a8e4b3b
2014-11-12 11:30:36 +00:00
Alan Viverette
0bc1eee096 Merge "Reduce number of saveLayer calls in RippleDrawable" into lmp-mr1-dev
automerge: b724314

* commit 'b724314516dc15ab7afb62f7a6e63d94f4022011':
  Reduce number of saveLayer calls in RippleDrawable
2014-11-12 02:26:04 +00:00
vandwalle
39c5118037 Merge "dont blacklist wifi config that have had validated internet status in the past" into lmp-mr1-dev
automerge: 3f558e7

* commit '3f558e7285d8632b81cde4a9f1d0829e02be5fa0':
  dont blacklist wifi config that have had validated internet status in the past
2014-11-12 02:24:40 +00:00
Wink Saville
e76308c5d6 Merge "Update SubscriptionManager API as per API council." into lmp-mr1-dev
automerge: 43bbf30

* commit '43bbf30a06a2aee05db9b80b287672017fbada5c':
  Update SubscriptionManager API as per API council.
2014-11-12 02:23:03 +00:00
Alan Viverette
b724314516 Merge "Reduce number of saveLayer calls in RippleDrawable" into lmp-mr1-dev 2014-11-12 02:04:22 +00:00
Bryce Lee
70532bf464 Merge "Wake up device in the case a touch is encountered in theater mode when the screen is off and no dream is running." into lmp-sprout-dev automerge: 68f9773
automerge: 5c14bc2

* commit '5c14bc213be3e311c150b7cb86dc880937b3b7b7':
  Wake up device in the case a touch is encountered in theater mode when the screen is off and no dream is running.
2014-11-12 01:21:13 +00:00
Winson Chung
1314e9a259 Merge "Adding null checks for unset stack. (Bug 18329447)" into lmp-mr1-dev
automerge: 4ff2526

* commit '4ff2526ef8d168d3c591f1a19de4dca76745c157':
  Adding null checks for unset stack. (Bug 18329447)
2014-11-12 01:20:15 +00:00
vandwalle
3f558e7285 Merge "dont blacklist wifi config that have had validated internet status in the past" into lmp-mr1-dev 2014-11-12 01:18:10 +00:00
Craig Mautner
2b9e9f417f Show error dialogs over apps that dismiss keyguard
automerge: c08eab8

* commit 'c08eab81f30a3120ec0929d3508b4a78d498e1ff':
  Show error dialogs over apps that dismiss keyguard
2014-11-12 01:17:48 +00:00
Winson Chung
6a601c9ee8 Merge "Preload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345)" into lmp-mr1-dev
automerge: 147de3a

* commit '147de3a9766e205af068d1462beaea7a4a9fb9bc':
  Preload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345)
2014-11-12 01:16:47 +00:00
Amith Yamasani
15de62de26 Merge "Allow profile owners to set the unknown source setting" into lmp-mr1-dev
automerge: 93ffd5d

* commit '93ffd5dc0a243af87f8ba106fe98df7a7ed2c484':
  Allow profile owners to set the unknown source setting
2014-11-12 01:15:16 +00:00
Junda Liu
5716ebe50d Merge "Add HIDE_CARRIER_NETWORK_SETTINGS global setting." into lmp-mr1-dev
automerge: 2eb5a5f

* commit '2eb5a5f727d4692b70b68cb4b1b7e31bf74f13a4':
  Add HIDE_CARRIER_NETWORK_SETTINGS global setting.
2014-11-12 01:14:00 +00:00
Wink Saville
43bbf30a06 Merge "Update SubscriptionManager API as per API council." into lmp-mr1-dev 2014-11-12 01:13:04 +00:00
Bryce Lee
5c14bc213b Merge "Wake up device in the case a touch is encountered in theater mode when the screen is off and no dream is running." into lmp-sprout-dev
automerge: 68f9773

* commit '68f97736e65f1be4664fd3c3765fc621f3b76c3a':
  Wake up device in the case a touch is encountered in theater mode when the screen is off and no dream is running.
2014-11-12 01:02:49 +00:00
Winson Chung
4ff2526ef8 Merge "Adding null checks for unset stack. (Bug 18329447)" into lmp-mr1-dev 2014-11-12 00:35:37 +00:00
Craig Mautner
c08eab81f3 Show error dialogs over apps that dismiss keyguard
Error dialogs absorb all input to ensure that they are not missed.
This can cause the screen to lock up if they are not displayed but
are still absorbing touches. This was what was happening when there
was an error dialog up at the same time as a phone call came in as
in b/17648830.

This fix recognizes when an app is dismissing the keyguard and
forces any error dialogs to be shown over such an app.

This also removes the private flags from the input system as they
are no longer needed.

Fixes bug 17648830.

Change-Id: I5c98b8265a1448b445fdb2f745fc78892f8656a4
2014-11-11 16:22:56 -08:00
Winson Chung
4ee0eb3c46 Adding null checks for unset stack. (Bug 18329447) 2014-11-11 16:11:52 -08:00
Winson Chung
147de3a976 Merge "Preload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345)" into lmp-mr1-dev 2014-11-12 00:10:55 +00:00
Winson Chung
a91c293be2 Preload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345)
This change ensures that only the number of visible thumbnails and task icons are
loaded to minimize the delay required when initializing the stack without the 
cache.  In addition, this change reduces the number of times that the task stack
is recomposed when launching recents (in addition to the number of calls to 
getRecentTasks()).

There is also a fix to a regression where the exit trigger is not run when the
task stack view is empty.

Change-Id: I75834ff3c57c0e5dad6252b982f71c6e740071f2
2014-11-11 16:10:05 -08:00
Amith Yamasani
93ffd5dc0a Merge "Allow profile owners to set the unknown source setting" into lmp-mr1-dev 2014-11-12 00:07:59 +00:00
Junda Liu
2eb5a5f727 Merge "Add HIDE_CARRIER_NETWORK_SETTINGS global setting." into lmp-mr1-dev 2014-11-12 00:05:20 +00:00