Merge "Fix NPE when finishing remote animation" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4355d317fe
@@ -320,11 +320,11 @@ class RemoteAnimationController implements DeathRecipient {
|
||||
} finally {
|
||||
mService.closeSurfaceTransaction("RemoteAnimationController#finished");
|
||||
}
|
||||
// Reset input for all activities when the remote animation is finished.
|
||||
final Consumer<ActivityRecord> updateActivities =
|
||||
activity -> activity.setDropInputForAnimation(false);
|
||||
mDisplayContent.forAllActivities(updateActivities);
|
||||
}
|
||||
// Reset input for all activities when the remote animation is finished.
|
||||
final Consumer<ActivityRecord> updateActivities =
|
||||
activity -> activity.setDropInputForAnimation(false);
|
||||
mDisplayContent.forAllActivities(updateActivities);
|
||||
setRunningRemoteAnimation(false);
|
||||
ProtoLog.i(WM_DEBUG_REMOTE_ANIMATIONS, "Finishing remote animation");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user