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

Commit 78486a25 authored by Winson Chung's avatar Winson Chung
Browse files

Adding check for recents interface before calling back

- If SysUI crashes, there's a brief period where the interfaces
  are reset before SysUI rebinds to Launcher

Fixes: 276354061
Test: Presubmit
Change-Id: Id1a1a1f41b48b9a7d86c1637cc06b662b5d17914
parent f86b574e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1104,6 +1104,9 @@ public class SystemUiProxy implements ISystemUiProxy {
     */
    public boolean startRecentsActivity(Intent intent, ActivityOptions options,
            RecentsAnimationListener listener) {
        if (mRecentTasks == null) {
            return false;
        }
        final IRecentsAnimationRunner runner = new IRecentsAnimationRunner.Stub() {
            @Override
            public void onAnimationStart(IRecentsAnimationController controller,