mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Revert "Fixing crash in empty folders. (Bug 11627191)"
This reverts commit 68b667848e.
Change-Id: I51da495d6f8ef98b268c23cce02cce5ef1c7ea00
This commit is contained in:
@@ -584,9 +584,8 @@ public class LauncherModel extends BroadcastReceiver {
|
||||
// as in Workspace.onDrop. Here, we just add/remove them from the list of items
|
||||
// that are on the desktop, as appropriate
|
||||
ItemInfo modelItem = sBgItemsIdMap.get(itemId);
|
||||
if (modelItem != null &&
|
||||
(modelItem.container == LauncherSettings.Favorites.CONTAINER_DESKTOP ||
|
||||
modelItem.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT)) {
|
||||
if (modelItem.container == LauncherSettings.Favorites.CONTAINER_DESKTOP ||
|
||||
modelItem.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
|
||||
switch (modelItem.itemType) {
|
||||
case LauncherSettings.Favorites.ITEM_TYPE_APPLICATION:
|
||||
case LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT:
|
||||
|
||||
Reference in New Issue
Block a user