onReceive
Called when a broadcast intent is received.
This method updates the _isDisplayed state flow based on the action of the received intent. It specifically looks for ACTION_CALL_UI_PIP_DISPLAYED and ACTION_CALL_UI_PIP_NOT_DISPLAYED.
Parameters
context
The Context in which the receiver is running.
intent
The Intent being received.