mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Restoring the vertical progress if the task launch failed
Bug: 79170705 Change-Id: I7b2075f7a4bad2acdc55a15b7c7a35fdbd60514e
This commit is contained in:
@@ -148,6 +148,9 @@ public class LauncherRecentsView extends RecentsView<Launcher> {
|
||||
protected void onTaskLaunched(boolean success) {
|
||||
if (success) {
|
||||
mActivity.getStateManager().goToState(NORMAL, false /* animate */);
|
||||
} else {
|
||||
LauncherState state = mActivity.getStateManager().getState();
|
||||
mActivity.getAllAppsController().setProgress(state.getVerticalProgress(mActivity));
|
||||
}
|
||||
super.onTaskLaunched(success);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user