diff options
author | Marin Shalamanov <shalamanov@google.com> | 2020-02-11 17:21:27 +0100 |
---|---|---|
committer | Marin Shalamanov <shalamanov@google.com> | 2020-02-18 19:36:29 +0100 |
commit | ed881341e7a7c8c867c976227a4cdeb7dc673a85 (patch) | |
tree | 16faf70c01e24b2b514532650d161c68f77d514c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 98af159104da457b8e3f9b1a5729cc34f7f3674a (diff) |
Log signatures for failing JNI lookups.
The JNI helper methods such as GetFieldIDOrDie, GetFieldIDOrDie
mast commonly fail due to wrong signatures. However, currently
the error logs do not show the signatures which makes it hard
to debug. This CL adds the signatures of the failing lookups.
Test: 1. introduce an error in a signature in
android_view_SurfaceControl.cpp
2. build and flash a device
3. inspect logcat
Change-Id: I055dfe761517625b0d541e9660de709d19360efc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions