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

Commit c3371300 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "Fix copying of insets" into qt-dev

parents 4e1078e2 7882548b
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -156,7 +156,9 @@ public final class WindowInsets {
     * @param src Source to copy insets from
     * @param src Source to copy insets from
     */
     */
    public WindowInsets(WindowInsets src) {
    public WindowInsets(WindowInsets src) {
        this(src.mTypeInsetsMap, src.mTypeMaxInsetsMap, src.mTypeVisibilityMap, src.mIsRound,
        this(src.mSystemWindowInsetsConsumed ? null : src.mTypeInsetsMap,
                src.mStableInsetsConsumed ? null : src.mTypeMaxInsetsMap,
                src.mTypeVisibilityMap, src.mIsRound,
                src.mAlwaysConsumeSystemBars, displayCutoutCopyConstructorArgument(src));
                src.mAlwaysConsumeSystemBars, displayCutoutCopyConstructorArgument(src));
    }
    }