Merge "Do not send setFinishTaskTransaction if not swipe" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
b95b0eec92
@@ -5926,8 +5926,9 @@ public abstract class RecentsView<
|
||||
}
|
||||
|
||||
final boolean sendUserLeaveHint = toRecents && shouldPip;
|
||||
if (sendUserLeaveHint) {
|
||||
if (sendUserLeaveHint && !com.android.wm.shell.Flags.enablePip2()) {
|
||||
// Notify the SysUI to use fade-in animation when entering PiP from live tile.
|
||||
// Note: PiP2 handles entering differently, so skip if enable_pip2=true.
|
||||
final SystemUiProxy systemUiProxy = SystemUiProxy.INSTANCE.get(getContext());
|
||||
systemUiProxy.setPipAnimationTypeToAlpha();
|
||||
systemUiProxy.setShelfHeight(true, mContainer.getDeviceProfile().hotseatBarSizePx);
|
||||
|
||||
Reference in New Issue
Block a user