Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 80ceebdd authored by Ajay Panicker's avatar Ajay Panicker
Browse files

Delete JNI Object references created from arrays

JNI Objects are deleted automatically when the native function returns,
but for large arrays this can not be enough and lead to running out of
resources before the native function returns. Prevent this by deleting
the references as they are created and finished being used.

Bug: 80527811
Test: Try sending a Now Playing List with a large number of items
Change-Id: I34ac44cdafca5b3edade8992a856f2f2fc14f23d
parent e1aa3186
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment