Merge "Make WindowInsets#hasInsets check for stable insets as well" into mnc-dev

This commit is contained in:
Adam Powell
2015-06-04 19:49:33 +00:00
committed by Android (Google) Code Review

View File

@@ -251,7 +251,7 @@ public final class WindowInsets {
* @return true if any inset values are nonzero
*/
public boolean hasInsets() {
return hasSystemWindowInsets() || hasWindowDecorInsets();
return hasSystemWindowInsets() || hasWindowDecorInsets() || hasStableInsets();
}
/**