Solves ExitTransitionCoordinator.ExitTransitionCallbacks NPE
Fixes: 262334298 Test: open the sample project app from the bug report, and execute `abd shell` commands: `input keyevent BACK`; `sleep 0.1`; `wm user-rotation lock 1` Change-Id: I9ad9b3b67f716fb9410e7ab39d0c8ee6df50161f
This commit is contained in:
@@ -426,7 +426,7 @@ public class ExitTransitionCoordinator extends ActivityTransitionCoordinator {
|
||||
mSharedElementNotified = true;
|
||||
delayCancel();
|
||||
|
||||
if (mExitCallbacks.isReturnTransitionAllowed()) {
|
||||
if (mExitCallbacks != null && mExitCallbacks.isReturnTransitionAllowed()) {
|
||||
mResultReceiver.send(MSG_ALLOW_RETURN_TRANSITION, null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user