summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEvan Laird <evanlaird@google.com>2019-07-10 15:55:45 -0400
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-07-11 19:49:42 +0000
commit27a288e8b225a29627003b21caa632c690d89163 (patch)
tree6b986d23b353c608f000c623e87ecd519967130e /tools/aapt2/java/JavaClassGenerator_test.cpp
parentb9be1e51e27ba5269c443a995e97933aaf0fbf83 (diff)
Use a Region when calculating TouchableRegion for cutouts
HeadsUpManagerPhone handles adding extra touchable region for the display cutout. When this changed to use Rects, the extra touch region was applied to the entire phone width because Rect#union() will cause the resulting Rect to grow in every dimension. The fix is to use a Region instead so we can properly union only the space under the notch Fixes: 135487528 Test: manual Change-Id: I1d39785087cc3378fc42363df170b81b84420a8e (cherry picked from commit e1822fd8d409ba491c360102deb8ebf06f051987)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions