mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 08:56:55 +00:00
Introduce initial A-Z app drawer to taskbar.
Invoking the drawer is currently hooked up to tapping empty space on the taskbar. Apps can be launched, and drag-n-drop split screen works. The drawer can only be dismissed by acting on an app icon or tapping the taskbar again. Test: Manual Bug: 204696617 Change-Id: I7c5fdbc7d54d8209f6f15ef80bfeb5e9b80cf647
This commit is contained in:
@@ -21,6 +21,7 @@ import android.view.View;
|
||||
import com.android.launcher3.LauncherSettings.Favorites;
|
||||
import com.android.launcher3.model.BgDataModel;
|
||||
import com.android.launcher3.model.BgDataModel.FixedContainerItems;
|
||||
import com.android.launcher3.model.data.AppInfo;
|
||||
import com.android.launcher3.model.data.ItemInfo;
|
||||
import com.android.launcher3.model.data.WorkspaceItemInfo;
|
||||
import com.android.launcher3.util.ComponentKey;
|
||||
@@ -198,6 +199,11 @@ public class TaskbarModelCallbacks implements
|
||||
mControllers.taskbarPopupController.setDeepShortcutMap(deepShortcutMapCopy);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void bindAllApplications(AppInfo[] apps, int flags) {
|
||||
mControllers.taskbarAllAppsViewController.setApps(apps, flags);
|
||||
}
|
||||
|
||||
protected void dumpLogs(String prefix, PrintWriter pw) {
|
||||
pw.println(prefix + "TaskbarModelCallbacks:");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user