From cda81c2ef1ba595c35ae1d4ad72c44f3443e08fd Mon Sep 17 00:00:00 2001 From: Tyler Gunn Date: Fri, 22 Aug 2014 14:05:57 -0700 Subject: Ensuring Video APIs are only called when video is available. Bug: 17179079 Change-Id: I3b327250c181f821ec37d574ae804f8003d04603 --- InCallUI/src/com/android/incallui/CallButtonFragment.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'InCallUI/src/com/android/incallui/CallButtonFragment.java') diff --git a/InCallUI/src/com/android/incallui/CallButtonFragment.java b/InCallUI/src/com/android/incallui/CallButtonFragment.java index 09a3bc292..74aeaf393 100644 --- a/InCallUI/src/com/android/incallui/CallButtonFragment.java +++ b/InCallUI/src/com/android/incallui/CallButtonFragment.java @@ -670,6 +670,11 @@ public class CallButtonFragment } } + @Override + public Context getContext() { + return getActivity(); + } + @Override public void showManageConferenceCallButton() { mExtraRowButton.setVisibility(View.VISIBLE); -- cgit v1.2.3