Mark EXTRA_PLAY_CALL_RECORDING_TONE as deprecated.
This constant was never actually used and serves no purpose any more.
This was used to detect apps that tried to record a call by recording the
device mic hoping to pick up the call audio from the earpiece. This is
no longer allowed by audio policies. This extra was set based on a
carrier config key that was never actually used by any carriers anyways.
Removing to clean up dead/useless code.
Flag: com.android.server.telecom.flags.telecom_resolve_hidden_dependencies
Test: Run unit/cts tests.
Bug: 308017600
Change-Id: Id43b8fcffa7c98b8b907116b54acd693ecbcd4e7
3 files changed