Merge "Un-hide WindowInsets#isConsumed" into lmp-dev

This commit is contained in:
Adam Powell
2014-08-08 02:01:50 +00:00
committed by Android (Google) Code Review
2 changed files with 1 additions and 1 deletions

View File

@@ -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);
}

View File

@@ -266,7 +266,6 @@ public final class WindowInsets {
* {@link View#fitSystemWindows(android.graphics.Rect)}.</p>
*
* @return true if the insets have been fully consumed.
* @hide Pending API
*/
public boolean isConsumed() {
return mSystemWindowInsetsConsumed && mWindowDecorInsetsConsumed && mStableInsetsConsumed;