OSDN Git Service

Avoid NPE from delayed Runnable
authorIan Parkinson <ianp@google.com>
Tue, 21 Jan 2014 13:09:59 +0000 (13:09 +0000)
committerIan Parkinson <ianp@google.com>
Tue, 21 Jan 2014 13:09:59 +0000 (13:09 +0000)
commit944491587e8a8f77233a1916cc16cd07edd97f2e
tree7cb3154e742a043b2a80fb7fb6db386576b0ebc2
parenta4db090b1345038a89a38ba8af6ac74f71e2ed7c
Avoid NPE from delayed Runnable

Naive fix to b/12656485. Other Runnables in Launcher similarly check
that mWorkspace hasn't become null between being posted and being
executed, so I think this is probably appropriate.

Bug: 12656485
Change-Id: Ib4f3d0e8686c6249fe838144b1e8120c85f66f01
src/com/android/launcher3/Launcher.java