diff options
Diffstat (limited to 'java/com/android/incallui/videotech/ims')
-rw-r--r-- | java/com/android/incallui/videotech/ims/ImsVideoTech.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/com/android/incallui/videotech/ims/ImsVideoTech.java b/java/com/android/incallui/videotech/ims/ImsVideoTech.java index 8c2ca151a..66a7af58a 100644 --- a/java/com/android/incallui/videotech/ims/ImsVideoTech.java +++ b/java/com/android/incallui/videotech/ims/ImsVideoTech.java @@ -43,7 +43,7 @@ public class ImsVideoTech implements VideoTech { } @Override - public boolean isAvailable() { + public boolean isAvailable(Context context) { if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { return false; } @@ -81,8 +81,8 @@ public class ImsVideoTech implements VideoTech { } @Override - public void onCallStateChanged(int newState) { - if (!isAvailable()) { + public void onCallStateChanged(Context context, int newState) { + if (!isAvailable(context)) { return; } |