commit | 2c7e020647220d649013ac3d54f9d4f5e43f3c60 | [log] [tgz] |
---|---|---|
author | ot904326 <ot_stanley-ht.wu@mediatek.com> | Mon Sep 30 19:35:22 2024 +0800 |
committer | Paul Colta <donpaul@google.com> | Fri Oct 04 21:19:11 2024 +0000 |
tree | 1b68e3779d3eae8cc2d9ac503e32e9d67fd94e6a | |
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