Loading core/java/android/view/WindowInsets.java +6 −1 Original line number Diff line number Diff line Loading @@ -87,7 +87,12 @@ public final class WindowInsets { if (mTempRect == null) { mTempRect = new Rect(); } if (mSystemWindowInsets != null) { mTempRect.set(mSystemWindowInsets); } else { // If there were no system window insets, this is just empty. mTempRect.setEmpty(); } return mTempRect; } Loading Loading
core/java/android/view/WindowInsets.java +6 −1 Original line number Diff line number Diff line Loading @@ -87,7 +87,12 @@ public final class WindowInsets { if (mTempRect == null) { mTempRect = new Rect(); } if (mSystemWindowInsets != null) { mTempRect.set(mSystemWindowInsets); } else { // If there were no system window insets, this is just empty. mTempRect.setEmpty(); } return mTempRect; } Loading