Integer to int causes null exception
Fixes: b/183921888 Test: manually follow bug steps Change-Id: I7763f4108ced922eba031b5b405774bfe112549a
This commit is contained in:
@@ -1300,8 +1300,9 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
|
||||
if (callbacks == null) return;
|
||||
callbacks.broadcast(c -> {
|
||||
try {
|
||||
int targetDisplayId =
|
||||
Integer targetDisplayId =
|
||||
callbackDisplayIds.get(c.asBinder());
|
||||
if (targetDisplayId == null) return;
|
||||
if (targetDisplayId == displayId) c.onColorsChanged(area, colors);
|
||||
} catch (RemoteException e) {
|
||||
e.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user