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

Commit 69efe335 authored by Fang Yunong's avatar Fang Yunong Committed by Gerrit - the friendly Code Review server
Browse files

Contacts: remove the videocall switch button

Remove the videocall switch button in contacts items.This button is doubt
and it's not necessery for request.

Change-Id: Idfa9173535e9c0f4e12b7d8a69abf6c9e0eaf699
CRs-Fixed: 1058641
parent 64df2d11
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -361,7 +361,7 @@ public class ExpandingEntryCardView extends CardView {
        if (mEnablePresence) {
            mVideoCalling = (Switch) expandingEntryCardView
                    .findViewById(R.id.switch_video_call);
            mVideoCalling.setVisibility(View.VISIBLE);
            mVideoCalling.setVisibility(View.GONE);
            mDefaultEnable = Settings.System.getInt(mContext.getContentResolver(),
                    CallUtil.CONFIG_VIDEO_CALLING,CallUtil.DISABLE_VIDEO_CALLING);
            mEnable = mDefaultEnable;
@@ -408,9 +408,6 @@ public class ExpandingEntryCardView extends CardView {
        mNumEntries = 0;
        mAllEntriesInflated = false;
        mShowFirstEntryTypeTwice = showFirstEntryTypeTwice;
        if (isSupportVideoCall) {
            mVideoCalling.setVisibility(View.VISIBLE);
        }
        for (List<Entry> entryList : mEntries) {
            mNumEntries += entryList.size();
            mEntryViews.add(new ArrayList<View>());