mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 00:36:49 +00:00
Fixing regression in removing widgets via accessibility.
- Regression was introduced in ag/765323, but not visible in normal drag and drop because the view is already removed from the parent. However, when accessibility is enabled, it was only removing it from the db, but not from the parents. Change-Id: I37483d0cd6306d270441b11e6f05247d58b88521
This commit is contained in:
@@ -2447,6 +2447,7 @@ public class Launcher extends Activity
|
||||
} else if (itemInfo instanceof LauncherAppWidgetInfo) {
|
||||
final LauncherAppWidgetInfo widgetInfo = (LauncherAppWidgetInfo) itemInfo;
|
||||
unbindAppWidget(widgetInfo, deleteFromDb);
|
||||
mWorkspace.removeWorkspaceItem(v);
|
||||
if (deleteFromDb) {
|
||||
LauncherModel.deleteItemFromDatabase(this, widgetInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user