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

Commit 80b93eb9 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 5702458 from a0967d21 to qt-release

Change-Id: Ia11ae0fb421acfc84ac062f284f561ec90895b27
parents b60777d0 a0967d21
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -113,4 +113,7 @@ public final class FallbackActivityControllerHelper extends
    public int getContainerType() {
        return LauncherLogProto.ContainerType.SIDELOADED_LAUNCHER;
    }

    @Override
    public void onLaunchTaskSuccess(RecentsActivity activity) { }
}
+5 −0
Original line number Diff line number Diff line
@@ -104,4 +104,9 @@ public final class LauncherActivityControllerHelper extends GoActivityControlHel
        return launcher != null ? launcher.getStateManager().getState().containerType
                : LauncherLogProto.ContainerType.APP;
    }

    @Override
    public void onLaunchTaskSuccess(Launcher launcher) {
        launcher.getStateManager().moveToRestState();
    }
}
+2 −1
Original line number Diff line number Diff line
@@ -81,7 +81,8 @@ public class BackgroundAppState extends OverviewState {

    @Override
    public int getVisibleElements(Launcher launcher) {
        return super.getVisibleElements(launcher) & ~RECENTS_CLEAR_ALL_BUTTON;
        return super.getVisibleElements(launcher)
                & ~RECENTS_CLEAR_ALL_BUTTON & ~VERTICAL_SWIPE_INDICATOR;
    }

    @Override
+2 −0
Original line number Diff line number Diff line
@@ -57,6 +57,8 @@ public class QuickSwitchState extends BackgroundAppState {
                if (!success) {
                    launcher.getStateManager().goToState(OVERVIEW);
                    tasktolaunch.notifyTaskLaunchFailed(TAG);
                } else {
                    launcher.getStateManager().moveToRestState();
                }
            }, new Handler(Looper.getMainLooper()));
        } else {
+5 −0
Original line number Diff line number Diff line
@@ -230,4 +230,9 @@ public final class FallbackActivityControllerHelper implements
        // TODO: probably go back to overview instead.
        activity.<RecentsView>getOverviewPanel().startHome();
    }

    @Override
    public void onLaunchTaskSuccess(RecentsActivity activity) {
        activity.onTaskLaunched();
    }
}
Loading