summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author ot904326 <ot_stanley-ht.wu@mediatek.com> 2024-09-30 19:35:22 +0800
committer Paul Colta <donpaul@google.com> 2024-10-04 21:19:11 +0000
commit2c7e020647220d649013ac3d54f9d4f5e43f3c60 (patch)
tree1b68e3779d3eae8cc2d9ac503e32e9d67fd94e6a /api/api.go
parent69ee324abfce0eb4545a61ef88bc3db8ef86baca (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