summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTiger Huang <tigerhuang@google.com>2020-02-25 22:24:39 +0800
committerTiger Huang <tigerhuang@google.com>2020-03-02 15:08:20 +0800
commite16645a966a740409de49aa94ce84370936e0579 (patch)
tree60d30a09f43666e3bd86c42fb0602fc4193156e2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6a9cd11871bfb39c1950e4549b5c93d6a21392dd (diff)
Make display cutout can produce insets
This CL creates InsetsType and InternalInsetsType for display cutout. With this CL, WindowInsets.getSystemWindowInsets() can be compatible with the legacy insets mode. Fix: 149932355 Test: Open an app which has LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS and hides navigation bar on the display which has double display cutout. And check if the app can get the correct result from WindowInsets.getSystemWindowInsets(). Change-Id: I381a083d8c30e1678c835eaf5341e941139aa0d7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions