mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Clear the promise flag once the restore animation is run
and no more restore related tasks are pending issue: 17214102 Change-Id: I54c486ff001d74b4961f85947f41848cf92243a3
This commit is contained in:
@@ -415,8 +415,10 @@ public class BubbleTextView extends TextView {
|
||||
}
|
||||
|
||||
preloadDrawable.setLevel(progressLevel);
|
||||
if (state == ShortcutInfo.PACKAGE_STATE_DEFAULT) {
|
||||
preloadDrawable.maybePerformFinishedAnimation();
|
||||
if ((state == ShortcutInfo.PACKAGE_STATE_DEFAULT) && info.wasPromise) {
|
||||
// Clear the promise flag as it is no longer different than a normal shortcut,
|
||||
// once the animation has been run.
|
||||
info.wasPromise = !preloadDrawable.maybePerformFinishedAnimation();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user