Play tone when video upgrade request is received.
Added a VideoProviderProxy which intermediates between the VideoProvider
in the ConnectionService and the InCallService.
Changed CallsManager to listen for session modification requests via the
VideoProviderProxy and report these to its listeners via the
CallsManagerListeberBase.
Changed InCallToneMonitor to listen for session modification requests and
to play a tone when a request to upgrade is received.
Also, added an intent in the TestInCallService which I neglected to commit
in a previous CL.
Bug: 20232310
Change-Id: I1b105968f519ff6b166bbd02cb57b1cf68d2cea9
diff --git a/testapps/AndroidManifest.xml b/testapps/AndroidManifest.xml
index 8b9827f..df333a5 100644
--- a/testapps/AndroidManifest.xml
+++ b/testapps/AndroidManifest.xml
@@ -59,6 +59,7 @@
android:process="com.android.server.telecom.testapps.TestInCallService" >
<intent-filter>
<action android:name="android.server.telecom.testapps.ACTION_SEND_UPDATE_REQUEST_FROM_TEST_INCALL_SERVICE"/>
+ <action android:name="android.server.telecom.testapps.ACTION_SEND_UPGRADE_RESPONSE"/>
<data android:scheme="int" />
</intent-filter>
</receiver>