commit | bcc984d38e9c054b6b047f7ec43b8816f0f27ba8 | [log] [tgz] |
---|---|---|
author | chaviw <chaviw@google.com> | Fri May 10 13:03:57 2019 -0700 |
committer | chaviw <chaviw@google.com> | Fri May 10 13:37:45 2019 -0700 |
tree | e38e6ea70738b767393f22a3486bed6da7f1f834 | |
parent | 30bdc20734f4dbd28e6fa8eee68a940538cfbdda [diff] |
Call ScopedLocalFrame in JNI methods Objects were leaking in InputManagerService JNI since there were calls from the native process without clearing the local reference. Call ScopedLocalFrame before extrating the reference so the object references get removed when the function returns. Test: No longer leaking IWindow when opening/closing apps Fixes: 131355264 Change-Id: Ib57398c833ba373b9c092e23bc965ed6d56c9fa5