Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 407a8949 authored by c_yunong's avatar c_yunong Committed by Gerrit - the friendly Code Review server
Browse files

Remove SIP dial icon in dialer for some carriers

Use a config to show/hide SIP dial icon for some carriers.

Change-Id: I38a4eb1f2fee7b8c70592e5bb8ea965b9f88b69c
CRs-Fixed: 1064440
parent 2fa3a54d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@
            android:layout_height="match_parent"
            android:layout_gravity="bottom|right"
            android:layout_weight="1"
            android:visibility="gone"
            android:background="@drawable/floating_action_button"
            android:contentDescription="@string/action_menu_dialpad_button"
            android:src="@drawable/ic_add_group_holo_dark"/>
+3 −0
Original line number Diff line number Diff line
@@ -33,4 +33,7 @@
  <bool name="config_regional_video_call_welcome_dialog">false</bool>
  <bool name="config_regional_pup_no_available_network">false</bool>
  <bool name="config_regional_call_data_usage_enable">false</bool>
  <!--not display SIP dial icon -->
  <bool name="config_hide_SIP_dial_icon">false</bool>

</resources>
+4 −2
Original line number Diff line number Diff line
@@ -449,8 +449,10 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
        mFloatingActionButton = (ImageButton) findViewById(R.id.floating_action_button);
        mDialCallButton =  findViewById(R.id.floating_action_button);
        mFloatingActionButton.setOnClickListener(this);
        if (!getResources().getBoolean(R.bool.config_hide_SIP_dial_icon)) {
            mConferenceDialButton = (ImageButton) findViewById(R.id.dialConferenceButton);
            mConferenceDialButton.setOnClickListener(this);
        }
        mFloatingActionButtonController = new FloatingActionButtonController(this,
                floatingActionButtonContainer,mFloatingActionButton);