Adds CONTAINER_ALL_APPS to LauncherSettings.Favorites.
Change-Id: I6ee81ef4e009ee99754545b5c8686dc0f9e261a2
This commit is contained in:
1 parent
870ec6a974
commit
261c3a6f6c
3 files changed
+11
-1
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user