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

Skip to content
Commit 2c7e0206 authored by ot904326's avatar ot904326 Committed by Paul Colta
Browse files

Refactor nativeSetEarcEnabled

In a scenario where HdmiEarcController calls nativeSetEarcEnabled,
and  mEArc is a null object triggering a NullPointerException,
which leads to a system_server crash, therefore adding a catch for
NullPointerException.

Bug: 370612254
Test: Success to catch NullPointerObject exception.

Change-Id: Ia3e6beb3d39fcb5e9cc1407b38488b1da605d55f
parent 69ee324a
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