Adds CONTAINER_ALL_APPS to LauncherSettings.Favorites.

Change-Id: I6ee81ef4e009ee99754545b5c8686dc0f9e261a2
This commit is contained in:
thiruram
2020-04-29 16:23:15 -07:00
committed by Thiru Ramasamy
parent 870ec6a974
commit 261c3a6f6c
3 changed files with 11 additions and 1 deletions

View File

@@ -16,6 +16,8 @@
package com.android.launcher3.model.data;
import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_ALL_APPS;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
@@ -74,7 +76,7 @@ public class AppInfo extends ItemInfoWithIcon {
public AppInfo(LauncherActivityInfo info, UserHandle user, boolean quietModeEnabled) {
this.componentName = info.getComponentName();
this.container = ItemInfo.NO_ID;
this.container = CONTAINER_ALL_APPS;
this.user = user;
intent = makeLaunchIntent(info);