diff options
author | Adrian Roos <roosa@google.com> | 2020-04-07 20:33:32 +0200 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2020-04-08 19:25:45 +0200 |
commit | d686b084ec6824837ae7a0bea9fdb0d486034489 (patch) | |
tree | d160cd8c8016c6b6563d431cd3f9ad63fdfb1701 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1a75b435633334d315eae5965d3b015c380cb3be (diff) |
Insets: Fix DecorView consuming of insets
Previously, disabling the consuming logic was
done based on whether we target R.
But this:
- didn't work for Q apps that already use the new API
- causes a bit of unnecessary behavior churn
- requires special-casing the IME
Instead, we look at whether the app has requested to
handle insets with the R setDecorFitsSystemWindows API.
Fixes: 152384150
Test: atest DecorInsetSdk29Tests DecorInsetTests
Change-Id: I754851d0c11dccd21c2fa011cfdc3f0d7396cf60
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions