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

Change-Id: I876b33910b641dcd503f3cd8d02455104cdd7140
This commit is contained in:
Jorim Jaggi
2020-04-02 11:30:40 +00:00
committed by Automerger Merge Worker

View File

@@ -818,12 +818,13 @@ public final class WindowInsets {
* @return A modified copy of this WindowInsets
* @deprecated Consuming of different parts individually of a {@link WindowInsets} instance is
* 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
@NonNull
public WindowInsets consumeStableInsets() {
return consumeSystemWindowInsets();
return this;
}
/**