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

Commit 77599805 authored by Hai Zhang's avatar Hai Zhang
Browse files

Fix NPE due to SparseArray.remove() without gc().

This is a follow-up to ag/23216745 where we missed one method that is
removing elements from SparseArray. It is calling remove() instead of
removeReturnOld() because we don't need the old value and may get
slightly better performance.

Fixes: 295856715
Bug: 263504888
Test: presubmit
Change-Id: I9ce0a9cc4571b343debfc4f0cfce3ea351f2f1a7
parent 41308996
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