summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2019-04-03 13:08:47 +0800
committerRiddle Hsu <riddlehsu@google.com>2019-04-11 02:05:59 +0000
commit61987bcaf58e5fca1b908b827784b8235c94ffaa (patch)
tree7f323482acfcd122a4284ba60436313cbfac5b7c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent32fa3c237ded618c49269cf67924fd9d6510a8d0 (diff)
Ensure consistency of screenHeightDp for non-resizable activity
Originally the height of status bar (or other stable insets) is not excluded from screenHeightDp for size compatibility mode activity because the previous display where the activity resides may be removed or changed then there is no available and consistent display bounds to calculate the screen configuration. Now we precompute and store the display insets in each rotation, so the activity always has the original display insets to compute consistent screen configuration. Test: atest ActivityRecordTests Test: atest TaskRecordTests#testComputeConfigResourceOverrides Bug: 112288258 Change-Id: I5c769f8080fc5ae4eba966d2fa42cb650254074d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions