Skip to content

Commit

Permalink
Merge remote branch 'cm/cm-10.1' into cm-10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
androidarmv6-gerrit committed Dec 31, 2012
2 parents c980f1e + ee652ca commit 81df4ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/com/cyanogenmod/trebuchet/DeleteDropTarget.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,11 @@ private void resetHoverColor() {

@Override
public boolean acceptDrop(DragObject d) {
// We can remove everything including App shortcuts, folders, widgets, etc.
if (d.dragInfo instanceof ShortcutInfo) {
if (((ShortcutInfo) d.dragInfo).itemType == LauncherSettings.Favorites.ITEM_TYPE_ALLAPPS) {
return false;
}
}
return true;
}

Expand Down

0 comments on commit 81df4ec

Please sign in to comment.