Merge "Prevent null pointer exception by return from setBackToLauncherCallback when mBackToLauncherCallback is null" into udc-dev am: 3538deee10
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22774999 Change-Id: Ie9ce8f91686593d37968bafd77b5306547ffd302 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