summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2019-04-30 16:53:33 -0700
committerchaviw <chaviw@google.com>2019-05-08 09:16:39 -0700
commita69a1b8d70969c5ade7d5777157a853a9789a4e7 (patch)
tree621cd14bf78dac58bfbf3b08bd724d979d872ac6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0f5ce51f30ebc57dfe5ec5b9810ed0891d709c14 (diff)
Use new captureScreen method with displayId or layerStack
Modified screencap code to use the new captureScreen method that accepts either the layerStack or displayId. This removes the need to get the displayInfo from SurfaceFlinger explicitely. The captureScreen function in SurfaceFlinger will handle getting the correct display information to take the screenshot. Test: adb shell screencap -d <layerStack for virt display> Fixes: 130974213 Change-Id: I644bff547bed7d24284b8a6e7899a567d1f4cddf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions