diff options
Diffstat (limited to 'InCallUI/src/com/android/incallui/CallButtonFragment.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallButtonFragment.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/InCallUI/src/com/android/incallui/CallButtonFragment.java b/InCallUI/src/com/android/incallui/CallButtonFragment.java index 20d2aa723..3b06f1af1 100644 --- a/InCallUI/src/com/android/incallui/CallButtonFragment.java +++ b/InCallUI/src/com/android/incallui/CallButtonFragment.java @@ -16,7 +16,6 @@ package com.android.incallui; -import android.graphics.drawable.Drawable; import android.graphics.drawable.LayerDrawable; import android.os.Bundle; import android.view.LayoutInflater; @@ -30,7 +29,6 @@ import android.widget.ImageButton; import android.widget.PopupMenu; import android.widget.PopupMenu.OnDismissListener; import android.widget.PopupMenu.OnMenuItemClickListener; -import android.widget.ToggleButton; import com.android.services.telephony.common.AudioMode; @@ -49,7 +47,6 @@ public class CallButtonFragment private ImageButton mMergeButton; private ImageButton mAddCallButton; private ImageButton mSwapButton; - private ImageButton mAuxiliaryActionButton; private PopupMenu mAudioModePopup; private boolean mAudioModePopupVisible; @@ -136,8 +133,6 @@ public class CallButtonFragment mMergeButton.setOnClickListener(this); mSwapButton = (ImageButton) parent.findViewById(R.id.swapButton); mSwapButton.setOnClickListener(this); - mAuxiliaryActionButton = (ImageButton) parent.findViewById(R.id.auxiliaryActionButton); - mAuxiliaryActionButton.setOnClickListener(this); return parent; } @@ -180,9 +175,6 @@ public class CallButtonFragment case R.id.dialpadButton: getPresenter().showDialpadClicked(!mShowDialpadButton.isSelected()); break; - case R.id.auxiliaryActionButton: - getPresenter().auxiliaryActionButtonClicked(); - break; default: Log.wtf(this, "onClick: unexpected"); break; @@ -516,15 +508,6 @@ public class CallButtonFragment } @Override - public void updateAuxiliaryActionButton(boolean show, String description, Drawable drawable) { - mAuxiliaryActionButton.setVisibility(show ? View.VISIBLE : View.GONE); - if (show) { - mAuxiliaryActionButton.setContentDescription(description); - mAuxiliaryActionButton.setImageDrawable(drawable); - } - } - - @Override public void showManageConferenceCallButton() { mExtraRowButton.setVisibility(View.VISIBLE); mManageConferenceButton.setVisibility(View.VISIBLE); |