commit | 3aa46b2dd00ab9bad26d4f27fa41e0d692afda90 | [log] [tgz] |
---|---|---|
author | Mihai Popa <popam@google.com> | Tue May 07 22:29:52 2019 +0100 |
committer | Mihai Popa <popam@google.com> | Tue May 21 17:08:52 2019 +0100 |
tree | bc5c46fdac2ef3636c1e6d370b120367e88e0f66 | |
parent | d263141c4b4dafb198ce773e99cb9a32c5048c6b [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