summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/videotech/VideoTech.java
diff options
context:
space:
mode:
authortwyen <twyen@google.com>2017-09-13 10:37:01 -0700
committerEric Erfanian <erfanian@google.com>2017-09-13 16:40:09 -0700
commit592098024c2f5c7df232c73034b6ae17e8af53a4 (patch)
tree7a2e4ed6af08572dfb400e7d5eeff5c8a40cdc35 /java/com/android/incallui/videotech/VideoTech.java
parenta23a522125599d99bcad03bc5c999df339538373 (diff)
Setup SMS filter even if VVM is already activated
VVM can be "activated" through restoring shared preferences from another device. In this case the SMS filter in telephony is still not configured, and needs to be set up. Bug: 65542413 Test: ActivationTaskTest PiperOrigin-RevId: 168560153 Change-Id: I46dd9b31e43899d8d567e7e6baebf06559548525
Diffstat (limited to 'java/com/android/incallui/videotech/VideoTech.java')
-rw-r--r--java/com/android/incallui/videotech/VideoTech.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/java/com/android/incallui/videotech/VideoTech.java b/java/com/android/incallui/videotech/VideoTech.java
index 79a8c605c..e3753bc65 100644
--- a/java/com/android/incallui/videotech/VideoTech.java
+++ b/java/com/android/incallui/videotech/VideoTech.java
@@ -17,6 +17,7 @@
package com.android.incallui.videotech;
import android.content.Context;
+import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.android.dialer.logging.DialerImpression;
import com.android.incallui.video.protocol.VideoCallScreen;
@@ -48,9 +49,9 @@ public interface VideoTech {
@SessionModificationState
int getSessionModificationState();
- void upgradeToVideo();
+ void upgradeToVideo(@NonNull Context context);
- void acceptVideoRequest();
+ void acceptVideoRequest(@NonNull Context context);
void acceptVideoRequestAsAudio();
@@ -60,7 +61,7 @@ public interface VideoTech {
void stopTransmission();
- void resumeTransmission();
+ void resumeTransmission(@NonNull Context context);
void pause();