diff options
author | Siarhei Vishniakou <svv@google.com> | 2020-02-12 16:15:28 -0800 |
---|---|---|
committer | Siarhei Vishniakou <svv@google.com> | 2020-02-12 17:36:44 -0800 |
commit | b01c6135ea457b5a82ab17ef48b0e14550966ef9 (patch) | |
tree | 416a54b7b31fa3cd3cd7f50df7c5ff470140b7e5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | be255041dbcd2a86f06b7e234e9c9aff7ef27e5c (diff) |
Cache VerifiedInputEvent class references
Currently, the variables 'clazz' and 'constructor' are not stored properly.
Cache them to make it consistent with all of the other jni code.
This would also prevent a crash in checkjni for using deleted local
reference (it's never made global in the current code).
Bug: 134977432
Test: atest VerifyInputEventTest (run several times)
Change-Id: Icef5271d915fce49b24d987923942fbdc4b6898b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions