Merge "Fix NPE from BackAnimationController#setBackToLauncherCallback." into tm-dev am: a671783048 am: 12e973c5ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18785512 Change-Id: I171055c37e2ffe7ab08470a567dfb33c53722f37 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -210,19 +210,19 @@ public class BackAnimationController implements RemoteCallable<BackAnimationCont
|
||||
@Override
|
||||
public void setBackToLauncherCallback(IOnBackInvokedCallback callback) {
|
||||
executeRemoteCallWithTaskPermission(mController, "setBackToLauncherCallback",
|
||||
(controller) -> mController.setBackToLauncherCallback(callback));
|
||||
(controller) -> controller.setBackToLauncherCallback(callback));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clearBackToLauncherCallback() {
|
||||
executeRemoteCallWithTaskPermission(mController, "clearBackToLauncherCallback",
|
||||
(controller) -> mController.clearBackToLauncherCallback());
|
||||
(controller) -> controller.clearBackToLauncherCallback());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBackToLauncherAnimationFinished() {
|
||||
executeRemoteCallWithTaskPermission(mController, "onBackToLauncherAnimationFinished",
|
||||
(controller) -> mController.onBackToLauncherAnimationFinished());
|
||||
(controller) -> controller.onBackToLauncherAnimationFinished());
|
||||
}
|
||||
|
||||
void invalidate() {
|
||||
|
||||
Reference in New Issue
Block a user