From 93184ca6c4ab7cc3af4f76ba8bba41f1289ff636 Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Mon, 15 Jan 2018 16:50:16 +0100 Subject: [PATCH] Clean up Signed-off-by: Mario Danic --- .../main/java/com/nextcloud/talk/activities/CallActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/nextcloud/talk/activities/CallActivity.java b/app/src/main/java/com/nextcloud/talk/activities/CallActivity.java index ed22b881b..e06276193 100644 --- a/app/src/main/java/com/nextcloud/talk/activities/CallActivity.java +++ b/app/src/main/java/com/nextcloud/talk/activities/CallActivity.java @@ -542,7 +542,7 @@ public class CallActivity extends AppCompatActivity { onCameraClick(); } - } else if (!EffortlessPermissions.hasPermissions(this, PERMISSIONS_CAMERA)) { + } else { cameraControlButton.setImageResource(R.drawable.ic_videocam_off_white_24px); if (cameraSwitchButton != null) { cameraSwitchButton.setVisibility(View.INVISIBLE); @@ -555,7 +555,7 @@ public class CallActivity extends AppCompatActivity { if (!audioOn) { onMicrophoneClick(); } - } else if (!EffortlessPermissions.hasPermissions(this, PERMISSIONS_MICROPHONE)) { + } else { microphoneControlButton.setImageResource(R.drawable.ic_mic_off_white_24px); }