Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e83b08ff authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Update API for OneShotRemoteHandler

* All no-ops except SplitSelectStateController

Bug: 295981634
Change-Id: Idabe80951ceb2b0a980f3179366d75fc064c69ec
parent 9f34a29d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -98,6 +98,9 @@ class DesktopRecentsTransitionController(
            mergeTarget: IBinder,
            finishCallback: IRemoteTransitionFinishedCallback
        ) {}

        override fun onTransitionConsumed(transition: IBinder?, aborted: Boolean) {
        }
    }

    companion object {
+3 −0
Original line number Diff line number Diff line
@@ -83,4 +83,7 @@ class FadeOutRemoteTransition : IRemoteTransition.Stub() {

        Executors.MAIN_EXECUTOR.execute { anim.start() }
    }

    override fun onTransitionConsumed(transition: IBinder?, aborted: Boolean) {
    }
}
+5 −0
Original line number Diff line number Diff line
@@ -641,6 +641,11 @@ public class SplitSelectStateController {
        public void mergeAnimation(IBinder transition, TransitionInfo info,
                SurfaceControl.Transaction t, IBinder mergeTarget,
                IRemoteTransitionFinishedCallback finishedCallback) { }

        @Override
        public void onTransitionConsumed(IBinder transition, boolean aborted)
                throws RemoteException {
        }
    }

    /**