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

Commit 79df9f55 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Contacts: Check the state of writing system settings permission."

parents 8a99ff69 28d25e55
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -330,10 +330,8 @@ public class ExpandingEntryCardView extends CardView {
        @Override
        public void onCheckedChanged(CompoundButton buttonView,
                boolean isChecked) {
            mEnable = isChecked ? CallUtil.ENABLE_VIDEO_CALLING:CallUtil.DISABLE_VIDEO_CALLING;
            CallUtil.createVideoCallingDialog(isChecked, mContext);
            Settings.System.putInt(mContext.getContentResolver(),CallUtil.CONFIG_VIDEO_CALLING,
                    mEnable);
            CallUtil.saveVideoCallConfig(mContext,isChecked);
            if (mVideoCallingCallback != null)
                mVideoCallingCallback.updateContact();
        }