mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-11 18:10:44 +00:00
Dont check activity
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
ccd2c847bb
commit
76fc46ab04
@ -422,7 +422,7 @@ public class CallController extends BaseController {
|
|||||||
|
|
||||||
@AfterPermissionGranted(100)
|
@AfterPermissionGranted(100)
|
||||||
private void onPermissionsGranted() {
|
private void onPermissionsGranted() {
|
||||||
if (getActivity() != null && EffortlessPermissions.hasPermissions(getActivity(), PERMISSIONS_CALL)) {
|
if (EffortlessPermissions.hasPermissions(getActivity(), PERMISSIONS_CALL)) {
|
||||||
if (!videoOn && !isVoiceOnlyCall) {
|
if (!videoOn && !isVoiceOnlyCall) {
|
||||||
onCameraClick();
|
onCameraClick();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user