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

Change-Id: I1e3e7b11151353051655d28ac127afa04b927622
This commit is contained in:
Jorim Jaggi
2020-04-02 12:10:23 +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;
}
/**