wifi: Checks telephony flag & overlay when enabling wifi voip detection
To prevent crashes in the telephony system, Wi-Fi's VoIP detection
now checks a telephony flag. This ensures the module only activates
when the 'pass_copied_call_state_list' flag is enabled,
which addresses the original crash issue.
To prevent OEMs don't take telephony fix, add a new overlay configuration
with default disbled.
Flag: com.android.internal.telephony.flags.pass_copied_call_state_list
Bug: 379126049
Test: Build pass
Change-Id: Icbccfef2368182296360e26f367bda9f0f53b1e5
5 files changed