mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Invoke home via recents for fallback recents
Fixes: 194286702 Test: Go home from app and overview for 3P and normal launcher (test via separate recents activity in debug menu) Change-Id: Ifac4afbfa549265a80448ee460a780bf0984f9e1
This commit is contained in:
@@ -18,7 +18,6 @@ package com.android.launcher3.taskbar;
|
||||
|
||||
import static android.view.Display.DEFAULT_DISPLAY;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.view.inputmethod.InputMethodManager;
|
||||
|
||||
import androidx.annotation.IntDef;
|
||||
@@ -90,9 +89,7 @@ public class TaskbarNavButtonController {
|
||||
}
|
||||
|
||||
private void navigateHome() {
|
||||
mService.startActivity(new Intent(Intent.ACTION_MAIN)
|
||||
.addCategory(Intent.CATEGORY_HOME)
|
||||
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
|
||||
mService.getOverviewCommandHelper().addCommand(OverviewCommandHelper.TYPE_HOME);
|
||||
}
|
||||
|
||||
private void navigateToOverview() {
|
||||
|
||||
Reference in New Issue
Block a user