* commit 'aa01c0882b8fcab73550546602b174bb36f72bce': Fix NPE
This commit is contained in:
@@ -1403,6 +1403,10 @@ public final class Launcher extends Activity
|
||||
|
||||
Runnable processIntent = new Runnable() {
|
||||
public void run() {
|
||||
if (mWorkspace == null) {
|
||||
// Can be cases where mWorkspace is null, this prevents a NPE
|
||||
return;
|
||||
}
|
||||
Folder openFolder = mWorkspace.getOpenFolder();
|
||||
// In all these cases, only animate if we're already on home
|
||||
mWorkspace.exitWidgetResizeMode();
|
||||
|
||||
Reference in New Issue
Block a user