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

Change-Id: I49e48967f405840d82ff2ad2b0c8ab4758630ddc
This commit is contained in:
Jorim Jaggi
2020-04-02 11:49:19 +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;
}
/**