mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Merge "Fix flicker when opening transient taskbar" into tm-qpr-dev am: 5858226f02
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21077864 Change-Id: I3a8676ce00fce6e1859600045aeec447f6a7a55e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -18,6 +18,7 @@ package com.android.quickstep.views;
|
||||
|
||||
import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
|
||||
|
||||
import static com.android.launcher3.LauncherState.NORMAL;
|
||||
import static com.android.launcher3.util.SplitConfigurationOptions.STAGE_POSITION_UNDEFINED;
|
||||
|
||||
import android.content.Context;
|
||||
@@ -35,6 +36,7 @@ import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.android.launcher3.DeviceProfile;
|
||||
import com.android.launcher3.Launcher;
|
||||
import com.android.launcher3.Utilities;
|
||||
import com.android.launcher3.touch.PagedOrientationHandler;
|
||||
import com.android.launcher3.util.RunnableList;
|
||||
@@ -295,7 +297,7 @@ public class DesktopTaskView extends TaskView {
|
||||
@Override
|
||||
public RunnableList launchTasks() {
|
||||
SystemUiProxy.INSTANCE.get(getContext()).showDesktopApps();
|
||||
getRecentsView().startHome();
|
||||
Launcher.getLauncher(mActivity).getStateManager().goToState(NORMAL, false /* animated */);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user