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

Commit 7882548b authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Fix copying of insets

Test: WindowInsetsTests
Fixes: 132057323
Change-Id: I8836a9d81ab85ce64071c48f8407e5e96dbbb1da
parent d7affe71
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -156,7 +156,9 @@ public final class WindowInsets {
     * @param src Source to copy insets from
     */
    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));
    }