OSDN Git Service

Fix a few issues with non-resizable info activity
authorJorim Jaggi <jjaggi@google.com>
Fri, 8 Apr 2016 02:19:15 +0000 (19:19 -0700)
committerJorim Jaggi <jjaggi@google.com>
Sat, 9 Apr 2016 01:18:40 +0000 (01:18 +0000)
commitaf80db4489d591837e114e75f5040d75b61e6804
tree2e2f730ca98c53484a692aeeca9f10c8bb564328
parent7b3936977fb6db8fcef5605d4ee2df48a4465663
Fix a few issues with non-resizable info activity

- If stack doesn't have focus, we execute TASK_TO_FRONT transition.
Set the correct animation for this transition type.
- Make sure to execute app transition when we are finishing an
activity that isn't resumed.
- Correctly set mAnimatingExit for the case if the activity is
already paused.

Bug: 27327287
Bug: 27154882
Change-Id: I253938727ba0eea76ebadba242315bd2d305d0b4
packages/SystemUI/res/values/styles.xml
services/core/java/com/android/server/am/ActivityStack.java
services/core/java/com/android/server/wm/WindowManagerService.java