OSDN Git Service

Fix crash when docking from recents.
authorFilip Gruszczynski <gruszczy@google.com>
Thu, 19 Nov 2015 02:01:27 +0000 (18:01 -0800)
committerFilip Gruszczynski <gruszczy@google.com>
Thu, 19 Nov 2015 18:07:30 +0000 (10:07 -0800)
commit96daf32e4ed40619419ddef1cf96a870a3c0f193
tree18dbc271e7978293707d8294781c84d8760dc132
parent6e09942a7d06adc564e6ca4a0e7328b46b4af28c
Fix crash when docking from recents.

The crash was happening because we were sending a future from sysui, but
that future would always return null animation specs when docking. This
makes it returns proper specs in that case. However, we need to still
protect ourselves from null specs when executing the future.

Bug: 25765339
Change-Id: I02d842ea31503169f6e053a1695d8896d2e4d97c
core/java/android/app/ActivityManager.java
packages/SystemUI/src/com/android/systemui/recents/views/RecentsTransitionHelper.java
services/core/java/com/android/server/wm/AppTransition.java
services/core/java/com/android/server/wm/WindowManagerService.java