OSDN Git Service

Fixed NPE in TaskStack.stepAppWindowAnimation
authorWale Ogunwale <ogunwale@google.com>
Tue, 6 Jun 2017 17:07:58 +0000 (10:07 -0700)
committerWale Ogunwale <ogunwale@google.com>
Tue, 6 Jun 2017 18:51:36 +0000 (11:51 -0700)
commit48458e1d8b86ec067d921876fdf45e1ee725395b
tree4f1d3f8c25aec8c5149c408ac13a61e30d9323c4
parentfaf86491e915c9f0fd6d8a3fff00060fc8c729fb
Fixed NPE in TaskStack.stepAppWindowAnimation

It is possible for an app token to be removed from the list if its last
window is removed. The problem was probably exposed by ag/2267916

Change-Id: Ie4f36dfd0977e8a47b987e47a6ca97889bd3ef27
Fixes: 62368998
Test: go/wm-smoke
services/core/java/com/android/server/wm/TaskStack.java