|
@@ -3,6 +3,7 @@ package com.reactnativenavigation.controllers;
|
3
|
3
|
import android.app.Activity;
|
4
|
4
|
import android.app.Dialog;
|
5
|
5
|
import android.content.DialogInterface;
|
|
6
|
+import android.util.Log;
|
6
|
7
|
import android.view.Window;
|
7
|
8
|
|
8
|
9
|
import com.reactnativenavigation.R;
|
|
@@ -36,6 +37,7 @@ public class Modal extends Dialog implements DialogInterface.OnDismissListener {
|
36
|
37
|
|
37
|
38
|
@Override
|
38
|
39
|
public void onBackPressed() {
|
|
40
|
+ Log.d("LOG", "Modal.onBackPressed ");
|
39
|
41
|
if (!layout.onBackPressed()) {
|
40
|
42
|
super.onBackPressed();
|
41
|
43
|
}
|