diff options
author | roldenburg <roldenburg@google.com> | 2018-01-18 12:57:19 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-18 14:04:29 -0800 |
commit | 6bd612f57bcd528283a4f45692908edf75574c60 (patch) | |
tree | 002c5123f2d4d9c0def0391f90e8d625535bdcdb /java/com/android/incallui/videotech/empty/EmptyVideoTech.java | |
parent | c332a5f54c2ea6459f66bd7bed33a5511e8609ac (diff) |
Pass PhoneAccountHandle into VideoTech isAvailable
Bug: 71840382
Test: DuoImplTest, existing tests
PiperOrigin-RevId: 182424150
Change-Id: I25607d43e1915d57134feac99b2c2240ae9559f9
Diffstat (limited to 'java/com/android/incallui/videotech/empty/EmptyVideoTech.java')
-rw-r--r-- | java/com/android/incallui/videotech/empty/EmptyVideoTech.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/java/com/android/incallui/videotech/empty/EmptyVideoTech.java b/java/com/android/incallui/videotech/empty/EmptyVideoTech.java index 2e34a6a8a..9f6211de8 100644 --- a/java/com/android/incallui/videotech/empty/EmptyVideoTech.java +++ b/java/com/android/incallui/videotech/empty/EmptyVideoTech.java @@ -19,6 +19,7 @@ package com.android.incallui.videotech.empty; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; +import android.telecom.PhoneAccountHandle; import com.android.dialer.common.Assert; import com.android.incallui.video.protocol.VideoCallScreen; import com.android.incallui.video.protocol.VideoCallScreenDelegate; @@ -29,7 +30,7 @@ import com.android.incallui.videotech.utils.SessionModificationState; public class EmptyVideoTech implements VideoTech { @Override - public boolean isAvailable(Context context) { + public boolean isAvailable(Context context, PhoneAccountHandle phoneAccountHandle) { return false; } @@ -60,7 +61,8 @@ public class EmptyVideoTech implements VideoTech { } @Override - public void onCallStateChanged(Context context, int newState) {} + public void onCallStateChanged( + Context context, int newState, PhoneAccountHandle phoneAccountHandle) {} @Override public void onRemovedFromCallList() {} |