summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMatthew Ng <ngmatthew@google.com>2016-12-13 16:55:09 -0800
committerMatthew Ng <ngmatthew@google.com>2016-12-14 11:53:42 -0800
commitca4c1a34fd5d756b80ccac6a97efa37e68a6ace7 (patch)
tree2ce70f58c4a0e18032fe16a1c76965db97e5875d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5686ade06c1068d5dc64739a726013ed7d402ac2 (diff)
Get correct insets of the phone screen at boot
Before places such as DockedStackDividerController.initSnapAlgorithmForRotations() tries to run getStableInsetsLw() will get no insets on boot (via onConfigurationChanged) because the navigationbar and statusbar have not been added yet. This would leads to some miscalculations until configuration changes such as rotating the screen. Test: manual - logged the inset values on bootup with adb logcat Change-Id: If07c8c007cb355dc418ff987fbb36ce104192379
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions