mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Update shelf offset earlier when in gesture nav
- Provide a hint to Launcher to indicate it will be resumed when swiping home, which allows us to notify sysui before any potential pip invocation, reducing the likelyhood of two conflicting animations when entering pip Bug: 156637223 Change-Id: Iae773e1aac88bbea6f74e1d1332417b448126471
This commit is contained in:
@@ -304,4 +304,8 @@ public abstract class BaseQuickstepLauncher extends Launcher
|
||||
public ShelfPeekAnim getShelfPeekAnim() {
|
||||
return mShelfPeekAnim;
|
||||
}
|
||||
|
||||
public void setHintUserWillBeActive() {
|
||||
addActivityFlags(ACTIVITY_STATE_USER_WILL_BE_ACTIVE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user