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

Commit ba8c722d authored by Garfield Tan's avatar Garfield Tan
Browse files

Only dump TaskMoveAllowed when it's set

Bug: 413579853
Flag: com.android.window.flags.enable_window_repositioning_api
Test: dumpsys activity activities only dump it when set.
Change-Id: Iad39aa27834939a7e8504e47df62ecc6597409c8
parent cd825c9b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3229,7 +3229,9 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
        if (mSafeRegionBounds != null) {
            pw.println(prefix + "mSafeRegionBounds=" + mSafeRegionBounds);
        }
        pw.println(prefix + "mIsTaskMoveAllowed=" + mIsTaskMoveAllowed);
        if (mIsTaskMoveAllowed) {
            pw.println(prefix + "TaskMoveAllowed");
        }
    }

    final void updateSurfacePositionNonOrganized() {