diff options
author | Miranda Kephart <mkephart@google.com> | 2021-02-01 14:50:05 -0500 |
---|---|---|
committer | Miranda Kephart <mkephart@google.com> | 2021-02-02 16:22:45 -0500 |
commit | f93d23ac588606dc3bc90c38b027047231486647 (patch) | |
tree | f1458186e02d60b7f05de2a160f4662959da21d0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5d9b76bd83c9e60f6502b2d1dc7bb91b6654aa0e (diff) |
Fix screenshot behavior with display cutout
Insets need to be set on the decor view, rather than the screenshot
view, in order to be picked up correctly.
Bug: 179050074
Fix: 179050074
Test: manual; taking a screenshot on a phone with a display cutout
results in a black bar at the top of the screen pre-change and
correctly fills the screen post-change
Change-Id: I4784027009359376624699c4ef3e174c047c086d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions