diff options
| author | 2024-09-30 19:35:22 +0800 | |
|---|---|---|
| committer | 2024-10-04 21:19:11 +0000 | |
| commit | 2c7e020647220d649013ac3d54f9d4f5e43f3c60 (patch) | |
| tree | 1b68e3779d3eae8cc2d9ac503e32e9d67fd94e6a /api/api.go | |
| parent | 69ee324abfce0eb4545a61ef88bc3db8ef86baca (diff) | |
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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions