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

Skip to content
Commit 6f26d200 authored by Grace Jia's avatar Grace Jia
Browse files

Avoid array usage in handleConnectionServiceDeath.

When we trying to create a new array by using an array size returned
from a java Collection, we may get weird NegativeArraySizeException.
Instead of create a pending response array, directly use an iterator for
the loop to mark connection as failed.

Bug: b/298029420
Test: atest CreateConnectionProcessorTest
Change-Id: I6ba6b7d7ba12469b1fad3b21531ca8d8f6f7a785
parent 23a939e3
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