Adding a flag (enabled by default) to remove the all-apps button.
All apps can still be opened by clicking the caret. Bug: 29398447 Change-Id: I61f1b05cea83a0a49d7cc16c518c5419618ba779
This commit is contained in:
1 parent
0af8af3a60
commit
bb011dad4e
13 files changed
+99
-108
No files matched your search
@@ -196,7 +196,6 @@ public class LauncherModel extends BroadcastReceiver
|
||||
public void bindAppInfosRemoved(ArrayList<AppInfo> appInfos);
|
||||
public void notifyWidgetProvidersChanged();
|
||||
public void bindWidgetsModel(WidgetsModel model);
|
||||
public boolean isAllAppsButtonRank(int rank);
|
||||
public void onPageBoundSynchronously(int page);
|
||||
public void executeOnNextDraw(ViewOnDrawExecutor executor);
|
||||
}
|
||||
@@ -1450,8 +1449,8 @@ public class LauncherModel extends BroadcastReceiver
|
||||
long containerIndex = item.screenId;
|
||||
if (item.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
|
||||
// Return early if we detect that an item is under the hotseat button
|
||||
if (mCallbacks == null ||
|
||||
mCallbacks.get().isAllAppsButtonRank((int) item.screenId)) {
|
||||
if (!FeatureFlags.NO_ALL_APPS_ICON &&
|
||||
profile.isAllAppsButtonRank((int) item.screenId)) {
|
||||
Log.e(TAG, "Error loading shortcut into hotseat " + item
|
||||
+ " into position (" + item.screenId + ":" + item.cellX + ","
|
||||
+ item.cellY + ") occupied by all apps");
|
||||
|
||||
Reference in new issue
Block a user