mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-03 05:03:04 +00:00
c01c052181
When a publisher fails during a call a reconnection is triggered, which first leaves the call and then initiates it again. Initiating a video call first request the permissions, but it seems that the request hangs when done while in PiP mode. Due to this if the publisher fails while in PiP mode and the call is initiated again the call will be simply left, without reconnecting to it. The problem is specific to video calls, as in voice only calls "onMicrophoneClick" is used instead, and it explicitly checks if the permissions are already granted. Checking if the permissions are already granted before requesting them is also recommended in the Android developer guide, and as the permissions are requested during the original call initialization it is expected that they will be already granted if the call is changed to PiP mode, so the problem is work arounded that way (but if the permissions are not granted when the publisher fails in PiP mode the problem would still happen, although that should be quite uncommon). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> |
||
---|---|---|
.. | ||
schemas/com.nextcloud.talk.data.source.local.TalkDatabase | ||
src | ||
build.gradle | ||
lint.xml | ||
proguard-rules.pro |