summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAbhijeet Kaur <abkaur@google.com>2019-03-29 17:04:48 +0000
committerAbhijeet Kaur <abkaur@google.com>2019-05-03 14:42:27 +0100
commit5e5b6b01504c5ef6b08b44e1c2642cc51835b96e (patch)
tree8c497a4e412c26c55aad234d2441adcd9e142a9e /tools/aapt2/java/JavaClassGenerator_test.cpp
parenteb24d06f8d88e2914c747bcd65996ffbfd28bfc2 (diff)
Pass valid file descriptor to binder
screenshotFd needs to be optional in Bugreport API. For some bugreports such as wifi,telephony, interactive etc taking a screenshot is not required. Initially, the API was sending invalid file descriptor to the Binder, but that binder transaction could not be completed as Binder validates the file descriptor to be valid and not-null. Adding a tmp.png screenshot file to pass to bugreport API call. In a separate CL in frameworks/native, added check that the bugreports that don't require screenshots would not use this file descriptor value. Bug: 128981582 Test: Tested by taking bugreports using Bugreport API in shell Merged-In: I3233f5753506ae159c9fa591742e6b99e361039b Change-Id: I3233f5753506ae159c9fa591742e6b99e361039b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions