From 26ca0e66305f97311ad673ad217df140ffafd107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 12 Mar 2019 11:48:19 +0100 Subject: [PATCH] android: throw if the overlsay permission is not granted in Debug mode --- android/app/src/main/java/org/jitsi/meet/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/src/main/java/org/jitsi/meet/MainActivity.java b/android/app/src/main/java/org/jitsi/meet/MainActivity.java index 084b54a0c..e4b83d9d6 100644 --- a/android/app/src/main/java/org/jitsi/meet/MainActivity.java +++ b/android/app/src/main/java/org/jitsi/meet/MainActivity.java @@ -122,7 +122,7 @@ public class MainActivity extends JitsiMeetActivity { initialize(); } - return; + throw new RuntimeException("Overlay permission is required when running in Debug mode."); } super.onActivityResult(requestCode, resultCode, data);