File tree 2 files changed +17
-0
lines changed
src/src/org/renpy/android
2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -257,6 +257,16 @@ protected void onPause() {
257
257
}
258
258
}
259
259
260
+ @ Override
261
+ protected void onNewIntent (Intent intent ) {
262
+ Log .i ("python" , "GOT NEW INTENT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" );
263
+ super .onNewIntent (intent );
264
+
265
+ if (mView != null ) {
266
+ mView .onNewIntent (intent );
267
+ }
268
+ }
269
+
260
270
@ Override
261
271
protected void onResume () {
262
272
super .onResume ();
Original file line number Diff line number Diff line change @@ -455,6 +455,13 @@ public void onResume() {
455
455
wakeLock .acquire ();
456
456
}
457
457
458
+ public void onNewIntent (Intent newintent ) {
459
+ // accept the new intent
460
+ Log .w (TAG , "GOT NEW INTENT.........................." );
461
+ mActivity .setIntent (newintent );
462
+ }
463
+
464
+
458
465
public void onDestroy () {
459
466
Log .w (TAG , "onDestroy() called" );
460
467
synchronized (this ) {
You can’t perform that action at this time.
0 commit comments