commit | 9615b0c6ad92dd5486b4f6dbfcc6290867a48e45 | [log] [tgz] |
---|---|---|
author | chaviw <chaviw@google.com> | Wed Mar 02 17:40:01 2022 -0600 |
committer | chaviw <chaviw@google.com> | Wed Mar 02 17:43:33 2022 -0600 |
tree | 0e81ab384f383970a367527be6f04f9ddd8764a5 | |
parent | 0563d4fb32692c489c1c9a00aa097c1f30f3ec61 [diff] |
Add ScopedLocalRef for new Strings in JNI When creating a new String, wrap in ScopedLocalRef to ensure the String is cleaned up. Test: hprof after using the device a lot Fixes: 222170518 Change-Id: Idf0b903381067d55399e6d66b3034efad90ab072