I’m trying to understand how the Phone by Google app plays a notification message (such as "This call is being recorded") during a call. When the call recording feature is enabled, the app plays the sound through the phone’s audio system.
how we can achieve this type of feature in the dialer app?