Close task menu scrim when pressing home button
- Generally close all floating view when starting home from Recents Bug: 193432925 Test: with 3 button, open task menu, then press home Change-Id: Ic99c50333c797f222fc8e682fd0f3fcc4d641d47
This commit is contained in:
@@ -32,6 +32,7 @@ import android.view.Surface;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.android.launcher3.AbstractFloatingView;
|
||||
import com.android.launcher3.BaseQuickstepLauncher;
|
||||
import com.android.launcher3.LauncherState;
|
||||
import com.android.launcher3.statehandlers.DepthController;
|
||||
@@ -70,6 +71,7 @@ public class LauncherRecentsView extends RecentsView<BaseQuickstepLauncher, Laun
|
||||
@Override
|
||||
public void startHome() {
|
||||
mActivity.getStateManager().goToState(NORMAL);
|
||||
AbstractFloatingView.closeAllOpenViews(mActivity, mActivity.isStarted());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user