mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Use ItemInfo with correct position when adding to Workspace via Accessibility.
Bug: 332651703 Flag: NA Test: Verified that the issue isn't reproducible with the fix. The issue was 100% reproducible before. Change-Id: I01207396e19b4f7d14d6a147e5e5fb98bae9ea99 Change-Id: I81aad9758ee33b8acc2d6a1242e54f2a47124374
This commit is contained in:
@@ -414,7 +414,7 @@ public class LauncherAccessibilityDelegate extends BaseAccessibilityDelegate<Lau
|
||||
LauncherSettings.Favorites.CONTAINER_DESKTOP,
|
||||
screenId, coordinates[0], coordinates[1]);
|
||||
|
||||
bindItem(item, accessibility, finishCallback);
|
||||
bindItem(info, accessibility, finishCallback);
|
||||
announceConfirmation(R.string.item_added_to_workspace);
|
||||
} else if (item instanceof PendingAddItemInfo) {
|
||||
PendingAddItemInfo info = (PendingAddItemInfo) item;
|
||||
|
||||
Reference in New Issue
Block a user