diff options
author | Tiger Huang <tigerhuang@google.com> | 2020-03-02 16:16:01 +0800 |
---|---|---|
committer | Tiger Huang <tigerhuang@google.com> | 2020-03-02 20:19:18 +0800 |
commit | 5fb9ab7ddf27330d099581bd78753a5f17a20ac3 (patch) | |
tree | 24153a6f6214808f0f0daea29df70c99e7140120 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6a9cd11871bfb39c1950e4549b5c93d6a21392dd (diff) |
Refine adjustLayoutParamsForCompatibility about fitting insets
By the compatible logic in DisplayPolicy.layoutWidnowLw(), if a regular
window (non-TYPE_STATUS_BAR_PANEL, non-TYPE_TOAST, and
non-TYPE_SYSTEM_ALERT) doesn't extend into any of system bars, it should
fit IME.
The logic was implemented by pf.set(displayFrames.mContent) in the
legacy insets mode, where mContent would be adjusted after processing
IME.
Fix: 149838078
Test: Steps in the target issue
Test: atest ViewRootImplTest
Change-Id: I6eb685fa1e3ad9789621e5647fc490300054db8b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions