diff options
| author | Yunfan Chen <yunfanc@google.com> | 2022-01-12 17:55:09 +0900 |
|---|---|---|
| committer | Yunfan Chen <yunfanc@google.com> | 2022-01-12 17:55:09 +0900 |
| commit | 98cc29d15d7af520d79a1e4d2a6b4405bd802c1c (patch) | |
| tree | a03176b048e4098132f5366ac92f5db6249d3fb9 /core/java/android/widget/TextView.java | |
| parent | 189f69261ffcfd6e25bb892d007dcc29e47b7b10 (diff) | |
Support given content insets for non-IME windows
This will let the task bar and all other windows provide an insets frame
smaller than the window's frame. This is a regression caused by the
flexible insets change.
If the window provides both internal insets and the content insets, both
of them will be deducted. A comment is added to the
provideInternalInsets to avoid the mis-use. There's a long term plan to
change the functionality of the provideInternalInsets. Will have it in
the follow-up patches.
Bug: 212221722
Test: atest DisplayPolicyTests
Change-Id: Ib9e414627992b46b1a1d0afa314ea180dfdbc4d6
Diffstat (limited to 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions
