OSDN Git Service

[DO NOT MERGE] Fixed NPE when trying to animate a window without display
authorWale Ogunwale <ogunwale@google.com>
Thu, 2 Apr 2015 23:13:57 +0000 (16:13 -0700)
committerThe Android Automerger <android-build@google.com>
Tue, 7 Apr 2015 01:51:16 +0000 (18:51 -0700)
commit51c23674ab6340d7a2f2be6b3ff515e7033e118a
treef46cb14c8476bb83200680cb6580f7188ace6c1d
parentf2e5ef35d651a04ae9e189a1eb29ceb23b5c1505
[DO NOT MERGE] Fixed NPE when trying to animate a window without display

In some cases it is possible for the AppToken.allAppWindows list to
get out of sync with the list of windows known to WMS if the client
doesn't call Session.remove(Window). This can lead to an NPE when
the animation threads runs and the display for the window has been
removed.

Bug: 19972099
Change-Id: Ifdf9ff2364b96757bba0539394c4a682f64577c9
services/core/java/com/android/server/wm/WindowAnimator.java