mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
9/ Clean up swipe shared state
- Add TaskAnimationManager which keeps track of the animation state whose lifecycle can be longer than the gesture. Move some of the logic related to cleaning up old animations into this class (called when the state is shared across gestures). - Instead of calling into the shared state directly via UIFactory, add callback to cleanup the animation and shared state from Launcher Bug: 141886704 Change-Id: Ib6140b37162f7460a20fa1046cfd4f4068e4a1c6 Signed-off-by: Winson Chung <winsonc@google.com>
This commit is contained in:
@@ -96,9 +96,6 @@ public class UiFactory {
|
||||
|
||||
public static void resetPendingActivityResults(Launcher launcher, int requestCode) { }
|
||||
|
||||
/** No-op. */
|
||||
public static void clearSwipeSharedState(Launcher launcher, boolean finishAnimation) { }
|
||||
|
||||
public static Person[] getPersons(ShortcutInfo si) {
|
||||
return Utilities.EMPTY_PERSON_ARRAY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user