Requiring key chord to delete icons and folders on the workspace
- Also fixing case where the all apps button to search for more apps was not focusable Bug: 20639227 Change-Id: Ie4d9092e654d3cafc0eb346b3bb744ec3e295e92
This commit is contained in:
@@ -1120,7 +1120,7 @@ public class Workspace extends PagedView
|
||||
if (lahv != null && lahv.isReinflateRequired()) {
|
||||
// Remove and rebind the current widget (which was inflated in the wrong
|
||||
// orientation), but don't delete it from the database
|
||||
mLauncher.removeItem(lahv, info, false /* deleteFromDb */);
|
||||
mLauncher.removeItem(lahv, null, info, false /* deleteFromDb */);
|
||||
mLauncher.bindAppWidget(info);
|
||||
}
|
||||
}
|
||||
@@ -4521,7 +4521,7 @@ public class Workspace extends PagedView
|
||||
if (info.hostView instanceof PendingAppWidgetHostView) {
|
||||
// Remove and rebind the current widget, but don't delete it from the database
|
||||
PendingAppWidgetHostView view = (PendingAppWidgetHostView) info.hostView;
|
||||
mLauncher.removeItem(view, info, false /* deleteFromDb */);
|
||||
mLauncher.removeItem(view, null, info, false /* deleteFromDb */);
|
||||
mLauncher.bindAppWidget(info);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user