Merge "WindowInsets: Ignore consumeStableInsets()" into rvc-dev

This commit is contained in:
Jorim Jaggi
2020-04-02 11:21:22 +00:00
committed by Android (Google) Code Review

View File

@@ -818,12 +818,13 @@ public final class WindowInsets {
* @return A modified copy of this WindowInsets * @return A modified copy of this WindowInsets
* @deprecated Consuming of different parts individually of a {@link WindowInsets} instance is * @deprecated Consuming of different parts individually of a {@link WindowInsets} instance is
* deprecated, since {@link WindowInsets} contains many different insets. Use {@link #CONSUMED} * deprecated, since {@link WindowInsets} contains many different insets. Use {@link #CONSUMED}
* instead to stop dispatching insets. * instead to stop dispatching insets. On {@link android.os.Build.VERSION_CODES#R R}, this
* method has no effect.
*/ */
@Deprecated @Deprecated
@NonNull @NonNull
public WindowInsets consumeStableInsets() { public WindowInsets consumeStableInsets() {
return consumeSystemWindowInsets(); return this;
} }
/** /**