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

Skip to content
Commit eede68f1 authored by Arthur Ishiguro's avatar Arthur Ishiguro
Browse files

Fix IndexOutOfBoundsException in HubEndpointInfo

new ArrayList<>(int) only sets the capacity, and add() is needed when
adding new elements initially to prevent out of bounds exception.

Bug: 378487799
Flag: android.chre.flags.offload_api
Test: Run default Context Hub HAL, verify no service crash

Change-Id: I650e4dba20e74faf5aed3e7a433b6737f536ab3e
parent 8c9cb5a8
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