mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Several app transition fixes:
> If launcher already started, creating the state transition only after threshold crossed, so that previous animations are not cancelled > Not posting animaiton callbacks at the front of the queue, as that sometimes causes it get executed before onNewIntent > Farking the activity as forceInvisible while launching an opaque app, so that quickly pressing home/back runs the reverse animation > Not running state animations when force-invisible is true Bug: 77830325 Bug: 77898806 Change-Id: I50a7e915ca35fd6aeb284c8f321ecca74396fe98
This commit is contained in:
@@ -121,7 +121,7 @@ public class LauncherStateManager {
|
||||
* @see #goToState(LauncherState, boolean, Runnable)
|
||||
*/
|
||||
public void goToState(LauncherState state) {
|
||||
goToState(state, mLauncher.isStarted() /* animated */, 0, null);
|
||||
goToState(state, !mLauncher.isForceInvisible() && mLauncher.isStarted() /* animated */);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user