DataConnectivitySwitchManager

open class DataConnectivitySwitchManager

Author

salma

aim of calls is to maintain connection on TELEPHONY DATA if the call started with at the end of the call user network settings is reinitialized with old user settings

Functions

Link copied to clipboard
open fun getInstance(): DataConnectivitySwitchManager
Link copied to clipboard
open fun onCallEnded(@NonNull context: Context)
if call started with Telephony data, WIFI is disabled, then when call ended let device switch to WIFI
Link copied to clipboard
open fun onCallInvitationReceived(@NonNull context: Context)
if call started with Telephony data, disable WIFI (do not loss the call)