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

Skip to content
Commit fb42ae81 authored by Roman Kiryanov's avatar Roman Kiryanov
Browse files

Fix iterating over cameras in media profiles initialization



The loop used to go through camera id indexes
while calling it `cameraId`. This caused a crash
and bootloop if an index was not present in
`mCameraIds` (e.g. if `mCameraIds` is an array
of one element other than zero).

Bug: 269194950
Test: presubmit
Change-Id: I12b3058b0f1728d0127873c7362dceef9ddd3cd9
Signed-off-by: default avatarRoman Kiryanov <rkir@google.com>
parent dab56ccf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment