android: fix crash in debug mode

This commit is contained in:
Saúl Ibarra Corretgé 2019-03-21 14:15:38 +01:00
parent e32336b96f
commit 08efc46f21
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ public class MainActivity extends JitsiMeetActivity {
&& canRequestOverlayPermission()) {
if (Settings.canDrawOverlays(this)) {
initialize();
return;
}
throw new RuntimeException("Overlay permission is required when running in Debug mode.");