diff options
| author | 2022-03-02 17:40:01 -0600 | |
|---|---|---|
| committer | 2022-03-02 17:43:33 -0600 | |
| commit | 9615b0c6ad92dd5486b4f6dbfcc6290867a48e45 (patch) | |
| tree | 0e81ab384f383970a367527be6f04f9ddd8764a5 /libs/androidfw/StringPool.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions