Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01487880 authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Turn ENABLE_PIP_APP_ICON_OVERLAY on by default

Bug: 265998256
Test: atest PinnedStackTests
Change-Id: I6e01f489953bf5d8ef4e013306a171232a100804
parent 7a0ec6a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1594,7 +1594,7 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
            // source rect hint to enter PiP use bounds animation.
            if (sourceHintRect == null) {
                if (SystemProperties.getBoolean(
                        "persist.wm.debug.enable_pip_app_icon_overlay", false)) {
                        "persist.wm.debug.enable_pip_app_icon_overlay", true)) {
                    animator.setAppIconContentOverlay(
                            mContext, currentBounds, mTaskInfo.topActivityInfo);
                } else {
+1 −1
Original line number Diff line number Diff line
@@ -804,7 +804,7 @@ public class PipTransition extends PipTransitionController {
                // We use content overlay when there is no source rect hint to enter PiP use bounds
                // animation.
                if (SystemProperties.getBoolean(
                        "persist.wm.debug.enable_pip_app_icon_overlay", false)) {
                        "persist.wm.debug.enable_pip_app_icon_overlay", true)) {
                    animator.setAppIconContentOverlay(
                            mContext, currentBounds, taskInfo.topActivityInfo);
                } else {
+1 −1
Original line number Diff line number Diff line
@@ -464,7 +464,7 @@ object Flags {
    @Keep
    @JvmField
    val ENABLE_PIP_APP_ICON_OVERLAY =
        sysPropBooleanFlag(1115, "persist.wm.debug.enable_pip_app_icon_overlay", default = false)
        sysPropBooleanFlag(1115, "persist.wm.debug.enable_pip_app_icon_overlay", default = true)

    // 1200 - predictive back
    @Keep