Merge "Un-hide WindowInsets#isConsumed" into lmp-dev
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user