Merge "Prevent null pointer exception by return from setBackToLauncherCallback when mBackToLauncherCallback is null" into udc-dev am: 3538deee10 am: baac1d9493
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22774999 Change-Id: I3569b178233c3d7bac58f5fbbd87785194165702 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -967,7 +967,7 @@ public class SystemUiProxy implements ISystemUiProxy {
|
||||
IRemoteAnimationRunner runner) {
|
||||
mBackToLauncherCallback = callback;
|
||||
mBackToLauncherRunner = runner;
|
||||
if (mBackAnimation == null) {
|
||||
if (mBackAnimation == null || mBackToLauncherCallback == null) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user