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

Skip to content
Commit a6615103 authored by Aditya Bavanari's avatar Aditya Bavanari Committed by Gerrit - the friendly Code Review server
Browse files

hal: Fix for a native crash in select_devices

In case of speaker protection, stream.in is not filled
and hence when it tries to access stream.in->devices for
spkr-vi-record usecase,crash occurs.In case of HDMI
keep_alive usecase,stream.out is not filled.
Add a null check before accessing stream.in and
stream.out pointers.

Change-Id: I5fafaa71d13ce234908dc2e24979d69a38435f62
CRs-Fixed: 1076923
parent 5974402d
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