mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Fixing talk-back folder icon removal regression.
Change-Id: I0b7fff645828d5198500973f1c9ea74f406a1a43
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, null, info, false /* deleteFromDb */);
|
||||
mLauncher.removeItem(lahv, info, false /* deleteFromDb */);
|
||||
mLauncher.bindAppWidget(info);
|
||||
}
|
||||
}
|
||||
@@ -4525,7 +4525,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, null, info, false /* deleteFromDb */);
|
||||
mLauncher.removeItem(view, info, false /* deleteFromDb */);
|
||||
mLauncher.bindAppWidget(info);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user