Fix crash when reinstalling live wallpapers.
This commit is contained in:
1 parent
d40eec360f
commit
3c8b90d9eb
1 file changed
+1
-1
@@ -310,7 +310,7 @@ public class LauncherModel {
|
||||
mAllAppsList.modified = new ArrayList();
|
||||
}
|
||||
|
||||
final Callbacks callbacks = mCallbacks.get();
|
||||
final Callbacks callbacks = mCallbacks != null ? mCallbacks.get() : null;
|
||||
if (callbacks == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user