diff options
| author | Adrian Roos <roosa@google.com> | 2017-12-11 17:30:56 +0100 |
|---|---|---|
| committer | Adrian Roos <roosa@google.com> | 2017-12-19 15:29:14 +0100 |
| commit | d07bafda2e91ca888d4413fd5b7b476e933a2561 (patch) | |
| tree | 16eb4ca7c16dfc722ea9d9e067a6fe0361247c71 /core/java/android/view/ViewRootImpl.java | |
| parent | 04c17bec55e1982547dc331757ea893afbdffd1c (diff) | |
Display Cutout: Make API public
Bug: 65689439
Test: make update-api
Change-Id: I01e73eea819f0b79eea103d7c895265c38f8ff31
Diffstat (limited to 'core/java/android/view/ViewRootImpl.java')
| -rw-r--r-- | core/java/android/view/ViewRootImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/ViewRootImpl.java b/core/java/android/view/ViewRootImpl.java index 2c82ac49c84e..6c5091c28708 100644 --- a/core/java/android/view/ViewRootImpl.java +++ b/core/java/android/view/ViewRootImpl.java @@ -1602,7 +1602,7 @@ public final class ViewRootImpl implements ViewParent, if (!layoutInCutout) { // Window is either not laid out in cutout or the status bar inset takes care of // clearing the cutout, so we don't need to dispatch the cutout to the hierarchy. - insets = insets.consumeCutout(); + insets = insets.consumeDisplayCutout(); } host.dispatchApplyWindowInsets(insets); } |
