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
Loading
Please register or sign in to comment