mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Removing promiseIntent property from ShortuctInfo
> Instead of checking promiseIntent != null, using isPromise() for consistency > Fixing bug where clicking a pending icon does not launch anything > Fixing bug where draging an icon on Info target, permanently hides the icon Change-Id: Ic8f6b56042dba42d5ed9aedb0f5947186e1a4208
This commit is contained in:
@@ -242,12 +242,10 @@ public class PackageUpdatedTask extends ExtendedModelTask {
|
||||
removedShortcuts.add(si);
|
||||
continue;
|
||||
}
|
||||
si.promisedIntent = intent;
|
||||
si.intent = intent;
|
||||
}
|
||||
}
|
||||
|
||||
si.intent = si.promisedIntent;
|
||||
si.promisedIntent = null;
|
||||
si.status = ShortcutInfo.DEFAULT;
|
||||
infoUpdated = true;
|
||||
if (si.itemType == Favorites.ITEM_TYPE_APPLICATION) {
|
||||
|
||||
Reference in New Issue
Block a user