diff options
author | chaviw <chaviw@google.com> | 2019-05-10 13:03:57 -0700 |
---|---|---|
committer | chaviw <chaviw@google.com> | 2019-05-10 13:37:45 -0700 |
commit | bcc984d38e9c054b6b047f7ec43b8816f0f27ba8 (patch) | |
tree | e38e6ea70738b767393f22a3486bed6da7f1f834 /startop/scripts/app_startup/lib/adb_utils.py | |
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
Diffstat (limited to 'startop/scripts/app_startup/lib/adb_utils.py')
0 files changed, 0 insertions, 0 deletions