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

Commit 03c8e3ff authored by Tony Wickham's avatar Tony Wickham
Browse files

Add quickstep onboarding text and send to sysui

Bug: 72999860
Change-Id: I3b67f197e16fdf7d646a81210baa6fd24ead61ed
parent 94404921
Loading
Loading
Loading
Loading
+425 B (109 KiB)

File changed.

No diff preview for this file type.

+3 −0
Original line number Diff line number Diff line
@@ -26,4 +26,7 @@
    <string name="recent_task_option_split_screen">Split screen</string>
    <!-- Title for an option to keep an app pinned to the screen until it is unpinned -->
    <string name="recent_task_option_pin">Pin</string>

    <!-- Text that shows above the navigation bar after launching a few apps -->
    <string name="recents_swipe_up_onboarding">Swipe up from the bottom to switch apps</string>
</resources>
 No newline at end of file
+3 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ import com.android.launcher3.Launcher;
import com.android.launcher3.LauncherAppState;
import com.android.launcher3.MainThreadExecutor;
import com.android.launcher3.model.ModelPreload;
import com.android.launcher3.R;
import com.android.systemui.shared.recents.IOverviewProxy;
import com.android.systemui.shared.recents.ISystemUiProxy;
import com.android.systemui.shared.system.ActivityManagerWrapper;
@@ -76,6 +77,8 @@ public class TouchInteractionService extends Service {
        public void onBind(ISystemUiProxy iSystemUiProxy) {
            mISystemUiProxy = iSystemUiProxy;
            mRecentsModel.setSystemUiProxy(mISystemUiProxy);
            RemoteRunnable.executeSafely(() -> mISystemUiProxy.setRecentsOnboardingText(
                    getResources().getString(R.string.recents_swipe_up_onboarding)));
        }

        @Override