|
|
@@ -40,6 +40,15 @@ public class JitsiMeetActivityDelegate {
|
|
40
|
40
|
private static PermissionListener permissionListener;
|
|
41
|
41
|
private static Callback permissionsCallback;
|
|
42
|
42
|
|
|
|
43
|
+ /**
|
|
|
44
|
+ * Tells whether or not the permissions request is currently in progress.
|
|
|
45
|
+ *
|
|
|
46
|
+ * @return {@code true} if the permssions are being requested or {@code false} otherwise.
|
|
|
47
|
+ */
|
|
|
48
|
+ static boolean arePermissionsBeingRequested() {
|
|
|
49
|
+ return permissionListener != null;
|
|
|
50
|
+ }
|
|
|
51
|
+
|
|
43
|
52
|
/**
|
|
44
|
53
|
* {@link Activity} lifecycle method which should be called from
|
|
45
|
54
|
* {@code Activity#onActivityResult} so we are notified about results of external intents
|