diff options
author | Adrian Roos <roosa@google.com> | 2020-04-01 14:26:19 +0200 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-04-03 01:07:39 +0000 |
commit | 96b5266ed1ccf0f50fe806ac52f3b53566cadaca (patch) | |
tree | 260fa3c2d953a5e23087b45c2f9cb204a7b8addb /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7e661a2ba37e2c2f6b168b4a3e0a93e4e1981151 (diff) |
WindowInsets: Ignore consumeStableInsets()
With the introduction of insets types we no longer support consuming
individual insets.
Instead we consumed all insets, regardless of whether you consumed
stable or system insets - but that led to compat issues.
On Q, consumeStableInsets was almost always a no-op anyways, because
stable insets already came pre-consumed during dispatch.
This change makes consumeStableInsets() a no-op to more closely match
that behavior.
Bug: 152033222
Test: atest WindowInsetsTest
Change-Id: Ic48ee7386320fc16449ac79435b69305a8132bf8
(cherry picked from commit 9ab688d487b50fe14a6b510d44d847908c36d6d6)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions