summaryrefslogtreecommitdiff
path: root/InCallUI/src/com/android/incallui/CallButtonFragment.java
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-08-22 18:11:31 -0700
committerAndrew Lee <anwlee@google.com>2014-08-22 18:43:15 -0700
commit1da81ce59cfbebd4e53fdfd2011e859069120de7 (patch)
treea0bbfdf8fa969627afc08ccfd82ce7ac88a1093a /InCallUI/src/com/android/incallui/CallButtonFragment.java
parent5ef89ed01f89a78c28b09b4d4a218c6a47a9d03e (diff)
Move "manage conference calls" button above photo.
- Remove it from the CallButtonFragment. This meant that related logic was removed from CallButtonFragment/Presenter, and similar logic was added to the CallCardFragment/Presenter. - Delete old groups icons. (new ones added in ContactsCommon) - Delete the extra_button_row logic. + Replace extra_button_row with a dedicated "manage conference calls" button, and added to call card content layouts. + Style the new button to be similar to the secondary call info. Bug: 15862303 Change-Id: I2b4e1a3a30422c7d5e9c01479f13291a785d85f3
Diffstat (limited to 'InCallUI/src/com/android/incallui/CallButtonFragment.java')
-rw-r--r--InCallUI/src/com/android/incallui/CallButtonFragment.java28
1 files changed, 0 insertions, 28 deletions
diff --git a/InCallUI/src/com/android/incallui/CallButtonFragment.java b/InCallUI/src/com/android/incallui/CallButtonFragment.java
index 5744cc5a1..14d1363ab 100644
--- a/InCallUI/src/com/android/incallui/CallButtonFragment.java
+++ b/InCallUI/src/com/android/incallui/CallButtonFragment.java
@@ -58,8 +58,6 @@ public class CallButtonFragment
private PopupMenu mAudioModePopup;
private boolean mAudioModePopupVisible;
private PopupMenu mOverflowPopup;
- private View mExtraRowButton;
- private View mManageConferenceButton;
private int mPrevAudioMode = 0;
@@ -90,11 +88,6 @@ public class CallButtonFragment
Bundle savedInstanceState) {
final View parent = inflater.inflate(R.layout.call_button_fragment, container, false);
- mExtraRowButton = parent.findViewById(R.id.extraButtonRow);
-
- mManageConferenceButton = parent.findViewById(R.id.manageConferenceButton);
- mManageConferenceButton.setOnClickListener(this);
-
mAudioButton = (ImageButton) parent.findViewById(R.id.audioButton);
mAudioButton.setOnClickListener(this);
mChangeToVoiceButton = (ImageButton) parent.findViewById(R.id.changeToVoiceButton);
@@ -191,9 +184,6 @@ public class CallButtonFragment
case R.id.overflowButton:
mOverflowPopup.show();
break;
- case R.id.manageConferenceButton:
- getPresenter().manageConferenceButtonClicked();
- break;
default:
Log.wtf(this, "onClick: unexpected");
break;
@@ -660,28 +650,10 @@ public class CallButtonFragment
}
@Override
- public void displayManageConferencePanel(boolean value) {
- if (getActivity() != null && getActivity() instanceof InCallActivity) {
- ((InCallActivity) getActivity()).displayManageConferencePanel(value);
- }
- }
-
- @Override
public Context getContext() {
return getActivity();
}
- @Override
- public void showManageConferenceCallButton() {
- mExtraRowButton.setVisibility(View.VISIBLE);
- mManageConferenceButton.setVisibility(View.VISIBLE);
- }
-
- @Override
- public void hideExtraRow() {
- mExtraRowButton.setVisibility(View.GONE);
- }
-
private void maybeSendAccessibilityEvent(View view, int stringId) {
final Context context = getActivity();
AccessibilityManager manager =