mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Set FLAG_RESUMED = false when expanding PiP
This allows us to play the icon alignment animation immediately, rather than waiting for the expand to finish and launcher to be paused. Test: Open Maps in PiP on home screen, expand it and watch taskbar Fixes: 239506421 Change-Id: I5c04f778c4c39c2895db0a1ea1fca4d48d1f3093
This commit is contained in:
@@ -353,6 +353,13 @@ public class LauncherTaskbarUIController extends TaskbarUIController {
|
||||
.get();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onExpandPip() {
|
||||
super.onExpandPip();
|
||||
mTaskbarLauncherStateController.updateStateForFlag(FLAG_RESUMED, false);
|
||||
mTaskbarLauncherStateController.applyState();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dumpLogs(String prefix, PrintWriter pw) {
|
||||
super.dumpLogs(prefix, pw);
|
||||
|
||||
Reference in New Issue
Block a user