Merge "Fix NPE when finishing remote animation" am: a58ffe3791 am: 665d379b9c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2260542 Change-Id: I855732d4c8011820c307837830fd0c6f90384b37 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -323,11 +323,11 @@ class RemoteAnimationController implements DeathRecipient {
|
|||||||
mService.closeSurfaceTransaction("RemoteAnimationController#finished");
|
mService.closeSurfaceTransaction("RemoteAnimationController#finished");
|
||||||
mIsFinishing = false;
|
mIsFinishing = false;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
// Reset input for all activities when the remote animation is finished.
|
// Reset input for all activities when the remote animation is finished.
|
||||||
final Consumer<ActivityRecord> updateActivities =
|
final Consumer<ActivityRecord> updateActivities =
|
||||||
activity -> activity.setDropInputForAnimation(false);
|
activity -> activity.setDropInputForAnimation(false);
|
||||||
mDisplayContent.forAllActivities(updateActivities);
|
mDisplayContent.forAllActivities(updateActivities);
|
||||||
|
}
|
||||||
setRunningRemoteAnimation(false);
|
setRunningRemoteAnimation(false);
|
||||||
ProtoLog.i(WM_DEBUG_REMOTE_ANIMATIONS, "Finishing remote animation");
|
ProtoLog.i(WM_DEBUG_REMOTE_ANIMATIONS, "Finishing remote animation");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user