diff options
Diffstat (limited to 'InCallUI/src/com/android/incallui/InCallApp.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallApp.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallApp.java b/InCallUI/src/com/android/incallui/InCallApp.java index c7bb4fb2a..78faf1f2b 100644 --- a/InCallUI/src/com/android/incallui/InCallApp.java +++ b/InCallUI/src/com/android/incallui/InCallApp.java @@ -41,6 +41,10 @@ public class InCallApp extends Application { "com.android.incallui.ACTION_ANSWER_VIDEO_INCOMING_CALL"; public static final String ACTION_ANSWER_VOICE_INCOMING_CALL = "com.android.incallui.ACTION_ANSWER_VOICE_INCOMING_CALL"; + public static final String ACTION_ACCEPT_VIDEO_UPGRADE_REQUEST = + "com.android.incallui.ACTION_ACCEPT_VIDEO_UPGRADE_REQUEST"; + public static final String ACTION_DECLINE_VIDEO_UPGRADE_REQUEST = + "com.android.incallui.ACTION_DECLINE_VIDEO_UPGRADE_REQUEST"; public InCallApp() { } @@ -76,6 +80,10 @@ public class InCallApp extends Application { InCallPresenter.getInstance().declineIncomingCall(context); } else if (action.equals(ACTION_HANG_UP_ONGOING_CALL)) { InCallPresenter.getInstance().hangUpOngoingCall(context); + } else if (action.equals(ACTION_ACCEPT_VIDEO_UPGRADE_REQUEST)) { + InCallPresenter.getInstance().acceptUpgradeRequest(context); + } else if (action.equals(ACTION_DECLINE_VIDEO_UPGRADE_REQUEST)) { + InCallPresenter.getInstance().declineUpgradeRequest(context); } } } |