mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 20:19:42 +01:00
Merge pull request #2394 from nextcloud/fix-call-not-joined-again-if-reconnecting-while-in-pip-mode
Fix call not joined again if reconnecting while in PiP mode
This commit is contained in:
commit
9712d05843
@ -699,7 +699,9 @@ public class CallActivity extends CallBaseActivity {
|
|||||||
if (isVoiceOnlyCall) {
|
if (isVoiceOnlyCall) {
|
||||||
onMicrophoneClick();
|
onMicrophoneClick();
|
||||||
} else {
|
} else {
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
if (EffortlessPermissions.hasPermissions(this, PERMISSIONS_CALL)) {
|
||||||
|
onPermissionsGranted();
|
||||||
|
} else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
||||||
requestPermissions(PERMISSIONS_CALL, 100);
|
requestPermissions(PERMISSIONS_CALL, 100);
|
||||||
} else {
|
} else {
|
||||||
onRequestPermissionsResult(100, PERMISSIONS_CALL, new int[]{1, 1});
|
onRequestPermissionsResult(100, PERMISSIONS_CALL, new int[]{1, 1});
|
||||||
|
Loading…
Reference in New Issue
Block a user