diff options
author | chaviw <chaviw@google.com> | 2019-05-09 15:22:54 -0700 |
---|---|---|
committer | chaviw <chaviw@google.com> | 2019-05-09 15:37:24 -0700 |
commit | 335025f23958ceb36b67d2380de1382cfb5d346c (patch) | |
tree | 19d7d6fb20106f8dd6164d99c6870bda3477a8a6 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ad2ddcf02251912e22127a7226bbc3223c955733 (diff) |
Changed local refs in JNI to ScopedLocalRef
Objects were leaking in InputManagerService JNI since there were calls
from the native process without clearing the local reference.
Converted the references to ScopedLocalRef so they get removed
automatically when out of scope.
Test: No longer leaking IWindow when opening/closing apps
Fixes: 131355264
Change-Id: I054faeb83360d7c43c3491680c3a39ba0b0c8351
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions