diff options
author | Mihai Popa <popam@google.com> | 2019-05-07 22:29:52 +0100 |
---|---|---|
committer | Mihai Popa <popam@google.com> | 2019-05-22 11:09:27 +0000 |
commit | 30b1fe3dd09017a16b55e921538146a3b378443a (patch) | |
tree | 36d495bbdcd24a1e56bdf705d0c944c7a1001915 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 93009b774361517235878221d1d10c179dec0200 (diff) |
[Magnifier-84] Improve PixelCopy failures handling
The CL adds PixelCopy failure handling in Magnifier. Previously, if the
content copy failed, the Magnifier would still render the shadow,
therefore displaying an empty rectangle shadow frame. The CL fixes this,
avoiding displaying anything if the PixelCopy request fails.
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Bug: 132136368
Change-Id: I66715c56770380afafa5af5a3ee976bcaaa5ba1e
(cherry picked from commit 3aa46b2dd00ab9bad26d4f27fa41e0d692afda90)
Merged-In: I66715c56770380afafa5af5a3ee976bcaaa5ba1e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions