android: fix crash in debug mode
This commit is contained in:
parent
e32336b96f
commit
08efc46f21
|
@ -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.");
|
||||
|
|
Loading…
Reference in New Issue