summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2018-03-20 16:45:08 -0700
committerCalin Juravle <calin@google.com>2018-03-21 12:09:37 -0700
commit06f74f86586313e769cf00d3dbe832c56b02023f (patch)
treec5c895e6c971686dfa68427701f1fa38a8f39d32 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7b287b144e91bab62bbdfd4a7184f03108c3ffab (diff)
Add extra checks around the profile file descriptor.
Be prepared for RuntimeExceptions by catching Exception instead of RemoteException. Also, make an explicit check that the profile fd is not null and valid. Test: gts ArtManagerHostTest Bug: 76028139 Change-Id: Ic8927a69ad8904ddf7f62f0699ebea5aeb30bdac
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions