From 82a53881f1e0257f700bdca27216fc26d0c87b59 Mon Sep 17 00:00:00 2001 From: Adam Powell Date: Thu, 7 Aug 2014 18:44:02 -0700 Subject: [PATCH] Un-hide WindowInsets#isConsumed Bug 16874227 Change-Id: I8b6386b46e71a06890cda2d3d6d9278ab35fc700 --- api/current.txt | 1 + core/java/android/view/WindowInsets.java | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/api/current.txt b/api/current.txt index 60a6900441e57..aa596850a7d5d 100644 --- a/api/current.txt +++ b/api/current.txt @@ -35547,6 +35547,7 @@ package android.view { method public int getSystemWindowInsetTop(); method public boolean hasInsets(); method public boolean hasSystemWindowInsets(); + method public boolean isConsumed(); method public boolean isRound(); method public android.view.WindowInsets replaceSystemWindowInsets(int, int, int, int); } diff --git a/core/java/android/view/WindowInsets.java b/core/java/android/view/WindowInsets.java index 1832cc376576b..571a8f0d5a8d0 100644 --- a/core/java/android/view/WindowInsets.java +++ b/core/java/android/view/WindowInsets.java @@ -266,7 +266,6 @@ public final class WindowInsets { * {@link View#fitSystemWindows(android.graphics.Rect)}.

* * @return true if the insets have been fully consumed. - * @hide Pending API */ public boolean isConsumed() { return mSystemWindowInsetsConsumed && mWindowDecorInsetsConsumed && mStableInsetsConsumed;