commit | b01c6135ea457b5a82ab17ef48b0e14550966ef9 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Wed Feb 12 16:15:28 2020 -0800 |
committer | Siarhei Vishniakou <svv@google.com> | Wed Feb 12 17:36:44 2020 -0800 |
tree | 416a54b7b31fa3cd3cd7f50df7c5ff470140b7e5 | |
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