Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening a scene by clicking on a notification. #13

Open
ultramarinebicycle opened this issue Feb 15, 2021 · 30 comments
Open

Opening a scene by clicking on a notification. #13

ultramarinebicycle opened this issue Feb 15, 2021 · 30 comments

Comments

@ultramarinebicycle
Copy link
Contributor

I think this is necessary for a notification plugin. I know how to open Activities in Android by clicking on a notification but don't know how that will work with Godot. If I can get some help in understanding this, I'll be happy to add this functionality.

@DrMoriarty
Copy link
Owner

When user opens application with notification clicking you can call localnotification.get_notification_data() and get all custom data which was stored in notification. So you can decide what scene to open for this user.
This custom data can be set with remote notifications.
The only thing which we should add - setting custom data for local notifications.

@ultramarinebicycle
Copy link
Contributor Author

I'm sorry but do you mean clicking on a notification opens an app right now? If so, there might be a bug causing the app to crash on Android. Let me know and I'll try to get error logs and debug.

@DrMoriarty
Copy link
Owner

yes, when you click on notification the app should start with special data from notification in application intent.
If you get crashes on it, please show me the application logs.

@ultramarinebicycle
Copy link
Contributor Author

ultramarinebicycle commented Feb 16, 2021

Not really getting much info besides:
ERROR: _subthread_start: ERROR: _subthread_start: Condition "err != OK" is true. Condition "err != OK" is true. At: At: editor/fileserver/editor_file_server.cpp:115 editor/fileserver/editor_file_server.cpp:115

@DrMoriarty
Copy link
Owner

this is not the reason of crash (if it exists)
if there is native c++ exception the crash log can be filtered out when logcat targets on specific application. I use logcat without filters in this case. Of course it fills a lot of garbage but all useful parts falls to output too.

@ultramarinebicycle
Copy link
Contributor Author

I am having some trouble with debugging. For some reason the debugger just disconnects and then I can't get any info. adb logcat isn't helping right now. I'm trying to square in on the problem, will edit this comment if/when I have something definite.

@ultramarinebicycle
Copy link
Contributor Author

logcat.txt

Here's the log info. The package name is org.godotengine.sunflower. Unfortunately, I can't seem to find the error causing the app to crash. Once the app crashes, I can't seem to open the app even after removing it from memory.

@DrMoriarty
Copy link
Owner

DrMoriarty commented Feb 16, 2021

I see the problem:

(Java_org_godotengine_godot_plugin_GodotPlugin_nativeRegisterSingleton+152)
(org.godotengine.godot.plugin.GodotPlugin.onRegisterPluginWithGodotNative+8)

You should disable all plugins one by one to detect the broken one.

@ultramarinebicycle
Copy link
Contributor Author

But notification is the only plugin I'm using!

@DrMoriarty
Copy link
Owner

Very interesting! So it can be crashes when it try to extract notification data on app start.
I will add more debug log into this section.

@ultramarinebicycle
Copy link
Contributor Author

I'll be happy to test it ASAP.

@DrMoriarty
Copy link
Owner

I pushed commit.
Now it will not check intent at application start. You should call get_notification_data, get_deeplink_action or get_deeplink_uri to force application intent checking.

@DrMoriarty
Copy link
Owner

@Altair1234 Could you build the plugin locally or I should build and release it?

@ultramarinebicycle
Copy link
Contributor Author

It'll be helpful if you released it. I'm not really familiar with Godot. Also, where do I put the get_notification_data() code? After setting the alarm?

@DrMoriarty
Copy link
Owner

Ok, I will release it in some minutes.
Usually I check this type of notifications in global singleton script in this method:

func _notification(what):
    if (what == MainLoop.NOTIFICATION_WM_FOCUS_IN):
        print('Activate application')
        # ideal place for checking notification data and so on

@ultramarinebicycle
Copy link
Contributor Author

ultramarinebicycle commented Feb 16, 2021

Alright, I will need to read up on the documentation, but thanks!

@DrMoriarty
Copy link
Owner

uploaded compiled plugin v 0.2.1

@ultramarinebicycle
Copy link
Contributor Author

The debugger refuses to work for me. I'll try a few things but it might take time :)

@ultramarinebicycle
Copy link
Contributor Author

Bug with custome builds, will take quite some time before they release the version IF the PR is accepted AND IF it fixes the issue. Is it possible for you to check the plugin on your end?

@DrMoriarty
Copy link
Owner

DrMoriarty commented Feb 17, 2021

I have no this issue, I checked on macosx and plugin works for me (also opening the app by tapping on notification don't lead to crash for me)
What OS do you use? Windows?

@ultramarinebicycle
Copy link
Contributor Author

Windows 10 with Samsung M31. Also tried on Mi A1. It seems like the remote debugger has always had issues. Wonder if there's an alternative to this?

@DrMoriarty
Copy link
Owner

DrMoriarty commented Feb 17, 2021

Did you tried debugger from Android Studio? It will be enough to get crash logs (or regular logs)
I offen use pidcat (https://github.com/JakeWharton/pidcat) when godot's debugger eats many log strings

@ultramarinebicycle
Copy link
Contributor Author

ultramarinebicycle commented Mar 21, 2021

Sorry I've been away for a while. get_notification_data() returns a null dictionary.

Finally managed to get the error logs, just before they vanish.

Logs.txt

Also, app only crashes if it is already open and then the notification is clicked on.

@DrMoriarty
Copy link
Owner

@Altair1234 is it the log when the app did crash?
I don't see the exception in it.

@ultramarinebicycle
Copy link
Contributor Author

Uh scroll to the bottom. Singleton part was in red, and so were 3-4 lines around it. That's error, right?

@DrMoriarty
Copy link
Owner

2021-03-21 11:49:25.322 7437-7950/org.ninestarstudios.Sunflower E/godot: **ERROR**: Condition "configured" is true.
2021-03-21 11:49:25.322 7437-7950/org.ninestarstudios.Sunflower E/godot:    At: core/string_name.cpp:56:setup() - Condition "configured" is true.
2021-03-21 11:49:25.325 7437-7950/org.ninestarstudios.Sunflower E/godot: **ERROR**: IP singleton already exist.
2021-03-21 11:49:25.325 7437-7950/org.ninestarstudios.Sunflower E/godot:    At: core/io/ip.cpp:308:create() - Condition "singleton" is true. Returned: __null
2021-03-21 11:49:25.326 7437-7950/org.ninestarstudios.Sunflower E/godot: **ERROR**: Singleton in InputMap already exist.
2021-03-21 11:49:25.326 7437-7950/org.ninestarstudios.Sunflower E/godot:    At: core/input_map.cpp:336:InputMap() - Condition "singleton" is true.

^ this is not the reason to crash. They are errors at gd script level but just warning at level of the application.
Try to cach the full log (without any filters) because native C++ exceptions may be filtered out. The log will be huge but this is not a problem for me.

@avnerh1
Copy link

avnerh1 commented Jun 13, 2021

I have the same problem.
Here's my log:

021-06-13 17:48:12.863 5941-11228/? D/ru.mobilap.localnotification.LocalNotification: showLocalNotification: message, 2, 1
2021-06-13 17:48:12.884 1333-1910/? D/SamsungAlarmManager: setExact (T:0/F:1/AC:false) 20210613T214814 now=583865920 - CU:10480/CP:5941/OP:PendingIntent{45b2079: PendingIntentRecord{547e1be run.escapelab.ahprods broadcastIntent}}
2021-06-13 17:48:12.891 5941-5941/? I/PlayCore: UID: [10480] PID: [5941] ReviewService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.inappreviewservice.InAppReviewService})
2021-06-13 17:48:12.891 5941-11361/? I/PlayCore: UID: [10480] PID: [5941] ReviewService : linkToDeath
2021-06-13 17:48:12.947 1333-1830/? I/InputDispatcher: Delivering touch to (5941): action: 0x0, f=0x0, d=0, 'c07919d', t=1
2021-06-13 17:48:12.947 5941-5941/? I/ViewRootImpl@c19bb6d[GodotApp]: ViewPostIme pointer 0
2021-06-13 17:48:12.955 5941-11170/? I/PlayCore: UID: [10480] PID: [5941] OnRequestInstallCallback : onGetLaunchReviewFlowInfo
2021-06-13 17:48:12.955 5941-11361/? I/PlayCore: UID: [10480] PID: [5941] ReviewService : Unbind from service.
2021-06-13 17:48:13.003 5941-11228/? W/libEGL: EGLNativeWindowType 0x7aa38a69d0 disconnect failed
2021-06-13 17:48:13.003 5941-11228/? D/capelab.ahprod: PlayerBase::pause() from IPlayer
2021-06-13 17:48:13.005 1333-1333/? D/MediaSessionService: Audio playback is changed, config=AudioPlaybackConfiguration piid:8551 type:OpenSL ES AudioPlayer (Buffer Queue) u/pid:10480/5941 state:paused attr:AudioAttributes: usage=USAGE_MEDIA content=CONTENT_TYPE_UNKNOWN flags=0x0 tags= bundle=null, removed=false
2021-06-13 17:48:13.026 5941-5941/? D/SensorManager: unregisterListener :: Godot{1bc5ab6 #0 id=0x7f05001e}
2021-06-13 17:48:13.062 5941-5941/? I/DecorView: [INFO] isPopOver=false, config=true
2021-06-13 17:48:13.062 5941-5941/? I/DecorView: updateCaptionType >> DecorView@9c15262[], isFloating=true, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=true
2021-06-13 17:48:13.063 5941-5941/? D/DecorView: setCaptionType = 0, this = DecorView@9c15262[]
2021-06-13 17:48:13.066 1333-7071/? I/InputDispatcher: Focus left window (5941): c07919d in display 0 0
2021-06-13 17:48:13.088 1333-1830/? I/InputDispatcher: Delivering touch to (5941): action: 0x1, f=0x0, d=0, 'c07919d', t=1
2021-06-13 17:48:13.105 5941-5941/? D/InputTransport: Input channel constructed: 'd6d872a', fd=96
2021-06-13 17:48:13.105 5941-5941/? I/ViewRootImpl@588c84f[PlayCoreDialogWrapperActivity]: setView = com.android.internal.policy.DecorView@9c15262 TM=true
2021-06-13 17:48:13.106 5941-5941/? I/ViewRootImpl@c19bb6d[GodotApp]: ViewPostIme pointer 1
2021-06-13 17:48:13.126 5941-5941/? D/ViewRootImpl@588c84f[PlayCoreDialogWrapperActivity]: controlInsetsForCompatibility: hideByFlags=0x3, showByFlags=0x0, flags=0x1800000, sysUiVis=0x1706, matchParent=false, nonAttachedAppWindow=true
2021-06-13 17:48:13.126 5941-5941/? D/InsetsSourceConsumer: setRequestedVisible: visible=false, type=1, host=run.escapelab.ahprods/com.google.android.play.core.common.PlayCoreDialogWrapperActivity, from=android.view.InsetsSourceConsumer.hide:236 android.view.InsetsController.collectSourceControls:1172 android.view.InsetsController.controlAnimationUnchecked:1049 android.view.InsetsController.applyAnimation:1417 android.view.InsetsController.hide:984 android.view.InsetsController.hide:967 android.view.ViewRootImpl.controlInsetsForCompatibility:2852 android.view.ViewRootImpl.performTraversals:3314 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971
2021-06-13 17:48:13.126 5941-5941/? D/InsetsSourceConsumer: setRequestedVisible: visible=false, type=0, host=run.escapelab.ahprods/com.google.android.play.core.common.PlayCoreDialogWrapperActivity, from=android.view.InsetsSourceConsumer.hide:236 android.view.InsetsController.collectSourceControls:1172 android.view.InsetsController.controlAnimationUnchecked:1049 android.view.InsetsController.applyAnimation:1417 android.view.InsetsController.hide:984 android.view.InsetsController.hide:967 android.view.ViewRootImpl.controlInsetsForCompatibility:2852 android.view.ViewRootImpl.performTraversals:3314 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971
2021-06-13 17:48:13.128 929-1901/? I/SurfaceFlinger: id=47051 createSurf (1x1),1 flag=4, run.escapelab.ahprods/com.google.android.play.core.common.PlayCoreDialogWrapperActivity$_5941#0
2021-06-13 17:48:13.130 1333-9743/? D/WindowManager: makeSurface duration=1 name=run.escapelab.ahprods/com.google.android.play.core.common.PlayCoreDialogWrapperActivity$_5941
2021-06-13 17:48:13.130 1333-9743/? V/WindowManager: Relayout hash=d6d872a, pid=5941: mAttrs={(0,0)(wrapxwrap) sim={adjust=pan forwardNavigation} ty=BASE_APPLICATION fmt=TRANSPARENT wanim=0x1030001
fl=1800000
pfl=2000000
vsysui=1706
bhv=SHOW_TRANSIENT_BARS_BY_SWIPE naviIconColor=0}
2021-06-13 17:48:13.131 5941-5941/? I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x76f7247 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1820 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-06-13 17:48:13.131 5941-5941/? I/ViewRootImpl@588c84f[PlayCoreDialogWrapperActivity]: Relayout returned: old=(0,72,2256,1080) new=(1240,540,1240,540) req=(0,0)0 dur=4 res=0x7 s={true 526730543440} ch=true fn=-1
2021-06-13 17:48:13.132 5941-5941/? I/ViewRootImpl@588c84f[PlayCoreDialogWrapperActivity]: [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:10957 android.view.ViewRootImpl.performTraversals:3845 android.view.ViewRootImpl.doTraversal:2618
2021-06-13 17:48:13.132 5941-5941/? I/ViewRootImpl@588c84f[PlayCoreDialogWrapperActivity]: [DP] pd() Asnyc report
2021-06-13 17:48:13.132 5941-5941/? I/ViewRootImpl@588c84f[PlayCoreDialogWrapperActivity]: [DP] pd() Cancel asnyc report
2021-06-13 17:48:13.132 5941-5941/? I/ViewRootImpl@588c84f[PlayCoreDialogWrapperActivity]: [DP] pdf(0) 1 android.view.ViewRootImpl.performDraw:4809 android.view.ViewRootImpl.performTraversals:3866 android.view.ViewRootImpl.doTraversal:2618
2021-06-13 17:48:13.132 5941-5941/? I/ViewRootImpl@588c84f[PlayCoreDialogWrapperActivity]: [DP] rdf()
2021-06-13 17:48:13.134 5941-5941/? I/ViewRootImpl@c19bb6d[GodotApp]: MSG_WINDOW_FOCUS_CHANGED 0 1
2021-06-13 17:48:13.180 1333-1830/? I/InputDispatcher: Delivering touch to (5941): action: 0x0, f=0x0, d=0, 'c07919d', t=1
2021-06-13 17:48:13.180 5941-5941/? I/ViewRootImpl@c19bb6d[GodotApp]: ViewPostIme pointer 0
2021-06-13 17:48:13.218 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897421920]
2021-06-13 17:48:13.218 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897421920]
2021-06-13 17:48:13.218 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897435024]
2021-06-13 17:48:13.218 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897435024]
2021-06-13 17:48:13.218 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897434800]
2021-06-13 17:48:13.218 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897434800]
2021-06-13 17:48:13.229 1333-1448/? V/ActivityManager: Changed top to 10480,ProcessRecord{9db3a23 5941:run.escapelab.ahprods/u0a480}
2021-06-13 17:48:13.229 5941-5941/? I/ViewRootImpl@c19bb6d[GodotApp]: stopped(false) old=false
2021-06-13 17:48:13.239 5941-5941/? D/SensorManager: registerListener :: 1, LSM6DSO Accelerometer, 20000, 0, Godot{1bc5ab6 #0 id=0x7f05001e}
2021-06-13 17:48:13.243 912-29049/? I/HiddenSound: registerSession : session=9937, pid=5941, uid=10480, ref=1
2021-06-13 17:48:13.245 5941-5941/? D/SensorManager: registerListener :: 1936159350, Gravity Sensor, 20000, 0, Godot{1bc5ab6 #0 id=0x7f05001e}
2021-06-13 17:48:13.245 1333-1333/? D/AudioPlayerStateMonitor: Found a new active media playback. AudioPlaybackConfiguration piid:8551 type:OpenSL ES AudioPlayer (Buffer Queue) u/pid:10480/5941 state:started attr:AudioAttributes: usage=USAGE_MEDIA content=CONTENT_TYPE_UNKNOWN flags=0x0 tags= bundle=null
2021-06-13 17:48:13.246 1333-1333/? D/MediaSessionService: Audio playback is changed, config=AudioPlaybackConfiguration piid:8551 type:OpenSL ES AudioPlayer (Buffer Queue) u/pid:10480/5941 state:started attr:AudioAttributes: usage=USAGE_MEDIA content=CONTENT_TYPE_UNKNOWN flags=0x0 tags= bundle=null, removed=false
2021-06-13 17:48:13.247 1333-7066/? I/InputDispatcher: Focus entered window (5941): c07919d in display 0 0
2021-06-13 17:48:13.248 5941-5941/? D/SensorManager: registerListener :: 5, AK09918C Magnetometer, 20000, 0, Godot{1bc5ab6 #0 id=0x7f05001e}
2021-06-13 17:48:13.255 5941-5941/? D/SensorManager: registerListener :: 2, LSM6DSO Gyroscope, 20000, 0, Godot{1bc5ab6 #0 id=0x7f05001e}
2021-06-13 17:48:13.256 5941-5941/? I/ViewRootImpl@588c84f[PlayCoreDialogWrapperActivity]: stopped(true) old=false
2021-06-13 17:48:13.256 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897447456]
2021-06-13 17:48:13.256 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897447456]
2021-06-13 17:48:13.260 929-1902/? E/BufferQueueProducer: run.escapelab.ahprods/com.google.android.play.core.common.PlayCoreDialogWrapperActivity$_5941#0 disconnect: not connected (req=1)
2021-06-13 17:48:13.260 5941-11213/? W/libEGL: EGLNativeWindowType 0x7aa3964160 disconnect failed
2021-06-13 17:48:13.260 5941-5941/? I/ViewRootImpl@588c84f[PlayCoreDialogWrapperActivity]: dispatchDetachedFromWindow
2021-06-13 17:48:13.261 5941-5941/? D/InputTransport: Input channel destroyed: 'd6d872a', fd=96
2021-06-13 17:48:13.261 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897396608]
2021-06-13 17:48:13.261 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897396608]
2021-06-13 17:48:13.262 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897397616]
2021-06-13 17:48:13.262 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897397616]
2021-06-13 17:48:13.262 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897394704]
2021-06-13 17:48:13.262 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897394704]
2021-06-13 17:48:13.267 1333-1925/? V/WindowManager: Relayout hash=c07919d, pid=5941: mAttrs={(0,0)(fillxfill) sim={adjust=pan forwardNavigation} layoutInDisplayCutoutMode=shortEdges ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x1030001
fl=1a10580
pfl=12020000
vsysui=1706
bhv=SHOW_TRANSIENT_BARS_BY_SWIPE
fitSides= naviIconColor=0}
2021-06-13 17:48:13.267 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897397504]
2021-06-13 17:48:13.267 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897397504]
2021-06-13 17:48:13.267 5941-5941/? I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x75ee423 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1820 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-06-13 17:48:13.268 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897383504]
2021-06-13 17:48:13.268 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897383504]
2021-06-13 17:48:13.268 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897387424]
2021-06-13 17:48:13.268 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897387424]
2021-06-13 17:48:13.268 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897388096]
2021-06-13 17:48:13.268 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897388096]
2021-06-13 17:48:13.268 5941-5941/? I/ViewRootImpl@c19bb6d[GodotApp]: Relayout returned: old=(0,0,2400,1080) new=(0,0,2400,1080) req=(2400,1080)0 dur=4 res=0x1 s={true 526729279040} ch=false fn=8
2021-06-13 17:48:13.268 5941-5941/? I/ViewRootImpl@c19bb6d[GodotApp]: updateBoundsLayer: shouldReparent = false t = android.view.SurfaceControl$Transaction@e11c13 sc = Surface(name=Bounds for - run.escapelab.ahprods/com.godot.game.GodotApp@0)/@0x18ee50 frame = 8
2021-06-13 17:48:13.270 5941-5941/? I/ViewRootImpl@c19bb6d[GodotApp]: MSG_WINDOW_FOCUS_CHANGED 1 1
2021-06-13 17:48:13.270 5941-5941/? D/InputMethodManager: prepareNavigationBarInfo() DecorView@eb3d165[GodotApp]
2021-06-13 17:48:13.270 5941-5941/? D/InputMethodManager: getNavigationBarColor() -16711423
2021-06-13 17:48:13.270 5941-5941/? D/InputMethodManager: prepareNavigationBarInfo() DecorView@eb3d165[GodotApp]
2021-06-13 17:48:13.270 5941-5941/? D/InputMethodManager: getNavigationBarColor() -16711423
2021-06-13 17:48:13.270 5941-5941/? V/InputMethodManager: Starting input: tba=run.escapelab.ahprods ic=null mNaviBarColor -16711423 mIsGetNaviBarColorSuccess true , NavVisible : false , NavTrans : false
2021-06-13 17:48:13.270 5941-5941/? D/InputMethodManager: startInputInner - Id : 0
2021-06-13 17:48:13.270 5941-5941/? I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
2021-06-13 17:48:13.271 5941-5941/? D/InputTransport: Input channel constructed: 'ClientS', fd=97
2021-06-13 17:48:13.271 5941-5941/? D/InputTransport: Input channel destroyed: 'ClientS', fd=92
2021-06-13 17:48:13.322 1333-1830/? I/InputDispatcher: Delivering touch to (5941): action: 0x1, f=0x0, d=0, 'c07919d', t=1
2021-06-13 17:48:13.322 5941-5941/? I/ViewRootImpl@c19bb6d[GodotApp]: ViewPostIme pointer 1
2021-06-13 17:48:13.335 1333-1449/? I/WindowManager: Destroying surface Surface(name=run.escapelab.ahprods/com.google.android.play.core.common.PlayCoreDialogWrapperActivity$_5941)/@0xdbd300a called by com.android.server.wm.WindowStateAnimator.destroySurface:1794 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:765 com.android.server.wm.WindowState.destroySurfaceUnchecked:3918 com.android.server.wm.WindowState.destroySurface:3892 com.android.server.wm.ActivityRecord.destroySurfaces:5251 com.android.server.wm.ActivityRecord.destroySurfaces:5232 com.android.server.wm.WindowState.onExitAnimationDone:5623 com.android.server.wm.-$$Lambda$01bPtngJg5AqEoOWfW3rWfV7MH4.accept:2
2021-06-13 17:48:13.335 929-975/? I/Layer: id=47051 removeFromCurrentState run.escapelab.ahprods/com.google.android.play.core.common.PlayCoreDialogWrapperActivity$_5941#0 (154)
2021-06-13 17:48:13.341 929-973/? I/SurfaceFlinger: id=47051 Removed run.escapelab.ahprods/com.google.android.play.core.common.PlayCoreDialogWrapperActivity$_5941#0 (154)
2021-06-13 17:48:13.348 929-929/? I/Layer: id=47051[1] Destroyed run.escapelab.ahprods/com.google.android.play.core.common.PlayCoreDialogWrapperActivity$_5941#0
2021-06-13 17:48:16.395 1333-6903/? I/ChimeraAppManager: Skipped reason: Lru pids: 5941 32648 30284 26990 17449 31202 25055 21659 7247 23675
2021-06-13 17:48:18.320 5941-11228/? W/libEGL: EGLNativeWindowType 0x7aa38a69d0 disconnect failed
2021-06-13 17:48:18.321 5941-11228/? D/capelab.ahprod: PlayerBase::pause() from IPlayer
2021-06-13 17:48:18.329 1333-1333/? D/MediaSessionService: Audio playback is changed, config=AudioPlaybackConfiguration piid:8551 type:OpenSL ES AudioPlayer (Buffer Queue) u/pid:10480/5941 state:paused attr:AudioAttributes: usage=USAGE_MEDIA content=CONTENT_TYPE_UNKNOWN flags=0x0 tags= bundle=null, removed=false
2021-06-13 17:48:18.347 5941-5941/? D/SensorManager: unregisterListener :: Godot{1bc5ab6 #0 id=0x7f05001e}
2021-06-13 17:48:18.355 1333-6909/? I/InputDispatcher: Focus left window (5941): c07919d in display 0 0
2021-06-13 17:48:18.377 5941-5941/? I/DecorView: [INFO] isPopOver=false, config=true
2021-06-13 17:48:18.377 5941-5941/? I/DecorView: updateCaptionType >> DecorView@ca1a9c2[], isFloating=false, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=true
2021-06-13 17:48:18.377 5941-5941/? D/DecorView: setCaptionType = 0, this = DecorView@ca1a9c2[]
2021-06-13 17:48:18.417 5941-5941/? D/SensorManager: registerListener :: 1, LSM6DSO Accelerometer, 20000, 0, Godot{1b5a609 #0 id=0x7f05001e}
2021-06-13 17:48:18.425 5941-5941/? D/SensorManager: registerListener :: 1936159350, Gravity Sensor, 20000, 0, Godot{1b5a609 #0 id=0x7f05001e}
2021-06-13 17:48:18.435 5941-5941/? D/SensorManager: registerListener :: 5, AK09918C Magnetometer, 20000, 0, Godot{1b5a609 #0 id=0x7f05001e}
2021-06-13 17:48:18.439 5941-5941/? D/SensorManager: registerListener :: 2, LSM6DSO Gyroscope, 20000, 0, Godot{1b5a609 #0 id=0x7f05001e}
2021-06-13 17:48:18.465 5941-5941/? D/SensorManager: registerListener fail (2) :: 1, LSM6DSO Accelerometer, 20000, 0, Godot{1b5a609 #0 id=0x7f05001e}
2021-06-13 17:48:18.465 5941-5941/? D/SensorManager: registerListener fail (2) :: 1936159350, Gravity Sensor, 20000, 0, Godot{1b5a609 #0 id=0x7f05001e}
2021-06-13 17:48:18.465 5941-5941/? D/SensorManager: registerListener fail (2) :: 5, AK09918C Magnetometer, 20000, 0, Godot{1b5a609 #0 id=0x7f05001e}
2021-06-13 17:48:18.466 5941-5941/? D/SensorManager: registerListener fail (2) :: 2, LSM6DSO Gyroscope, 20000, 0, Godot{1b5a609 #0 id=0x7f05001e}
2021-06-13 17:48:18.476 5941-5941/? D/InputTransport: Input channel constructed: '1031dc7', fd=103
2021-06-13 17:48:18.479 5941-5941/? I/ViewRootImpl@2dd7e35[GodotApp]: setView = com.android.internal.policy.DecorView@ca1a9c2 TM=true
2021-06-13 17:48:18.480 5941-5941/? I/ViewRootImpl@c19bb6d[GodotApp]: MSG_WINDOW_FOCUS_CHANGED 0 1
2021-06-13 17:48:18.480 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897397504]
2021-06-13 17:48:18.480 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897397504]
2021-06-13 17:48:18.480 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897396608]
2021-06-13 17:48:18.480 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897396608]
2021-06-13 17:48:18.480 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897397616]
2021-06-13 17:48:18.480 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897397616]
2021-06-13 17:48:18.481 5941-5941/? I/SurfaceView: onWindowVisibilityChanged(0) true org.godotengine.godot.GodotView{3f4c8b1 VFE...... .F....I. 0,0-0,0} of ViewRootImpl@2dd7e35[GodotApp]
2021-06-13 17:48:18.481 5941-11392/? E/godot: ERROR: Condition "configured" is true.
2021-06-13 17:48:18.481 5941-11392/? E/godot: At: core/string_name.cpp:54:setup() - Condition "configured" is true.
2021-06-13 17:48:18.482 5941-5941/? D/ViewRootImpl@2dd7e35[GodotApp]: controlInsetsForCompatibility: hideByFlags=0x3, showByFlags=0x0, flags=0x1a10500, sysUiVis=0x1706, matchParent=true, nonAttachedAppWindow=true
2021-06-13 17:48:18.482 5941-5941/? D/InsetsSourceConsumer: setRequestedVisible: visible=false, type=1, host=run.escapelab.ahprods/com.godot.game.GodotApp, from=android.view.InsetsSourceConsumer.hide:236 android.view.InsetsController.collectSourceControls:1172 android.view.InsetsController.controlAnimationUnchecked:1049 android.view.InsetsController.applyAnimation:1417 android.view.InsetsController.hide:984 android.view.InsetsController.hide:967 android.view.ViewRootImpl.controlInsetsForCompatibility:2852 android.view.ViewRootImpl.performTraversals:3314 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971
2021-06-13 17:48:18.482 5941-5941/? D/InsetsSourceConsumer: setRequestedVisible: visible=false, type=0, host=run.escapelab.ahprods/com.godot.game.GodotApp, from=android.view.InsetsSourceConsumer.hide:236 android.view.InsetsController.collectSourceControls:1172 android.view.InsetsController.controlAnimationUnchecked:1049 android.view.InsetsController.applyAnimation:1417 android.view.InsetsController.hide:984 android.view.InsetsController.hide:967 android.view.ViewRootImpl.controlInsetsForCompatibility:2852 android.view.ViewRootImpl.performTraversals:3314 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971
2021-06-13 17:48:18.485 5941-11392/? E/godot: ERROR: Condition "singleton" is true. Returned: __null
2021-06-13 17:48:18.485 5941-11392/? E/godot: At: core/io/ip.cpp:308:create() - Condition "singleton" is true. Returned: __null
2021-06-13 17:48:18.486 929-1902/? I/SurfaceFlinger: id=47076 createSurf (2400x1080),1 flag=4, run.escapelab.ahprods/com.godot.game.GodotApp$_5941#1
2021-06-13 17:48:18.486 5941-11392/? E/godot: ERROR: Condition "singleton" is true.
2021-06-13 17:48:18.486 5941-11392/? E/godot: At: core/input_map.cpp:372:InputMap() - Condition "singleton" is true.
2021-06-13 17:48:18.489 1333-10342/? D/WindowManager: makeSurface duration=3 name=run.escapelab.ahprods/com.godot.game.GodotApp$_5941
2021-06-13 17:48:18.496 1333-10342/? V/WindowManager: Relayout hash=1031dc7, pid=5941: mAttrs={(0,0)(fillxfill) sim={adjust=pan forwardNavigation} layoutInDisplayCutoutMode=shortEdges ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x1030001 sysuil=true
fl=1a10500
pfl=12020000
vsysui=1706
bhv=SHOW_TRANSIENT_BARS_BY_SWIPE
fitSides= naviIconColor=0}
2021-06-13 17:48:18.503 5941-5941/? I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x6653d6e / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1820 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-06-13 17:48:18.511 5941-11392/? E/godot: ERROR: Condition "singleton != __null" is true.
2021-06-13 17:48:18.511 5941-11392/? E/godot: At: core/message_queue.cpp:340:MessageQueue() - Condition "singleton != __null" is true.
2021-06-13 17:48:18.515 5941-5941/? I/ViewRootImpl@2dd7e35[GodotApp]: Relayout returned: old=(0,0,2400,1080) new=(0,0,2400,1080) req=(2400,1080)0 dur=21 res=0x7 s={true 526730595760} ch=true fn=-1
2021-06-13 17:48:18.515 5941-5941/? I/SurfaceView: windowStopped(false) true org.godotengine.godot.GodotView{3f4c8b1 VFE...... .F....I. 0,0-0,0} of ViewRootImpl@2dd7e35[GodotApp]
2021-06-13 17:48:18.516 5941-5941/? I/ViewRootImpl@2dd7e35[GodotApp]: [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:10957 android.view.ViewRootImpl.performTraversals:3845 android.view.ViewRootImpl.doTraversal:2618
2021-06-13 17:48:18.518 5941-5941/? I/SurfaceView: surfaceCreated 1 #8 org.godotengine.godot.GodotView{3f4c8b1 VFE...... .F....ID 0,0-2400,1080}
2021-06-13 17:48:18.531 5941-5941/? I/SurfaceView: surfaceChanged (2400,1080) 1 #8 org.godotengine.godot.GodotView{3f4c8b1 VFE...... .F....ID 0,0-2400,1080}
2021-06-13 17:48:18.531 5941-5941/? I/ViewRootImpl@2dd7e35[GodotApp]: [DP] dp(2) 1 android.view.SurfaceView.updateSurface:1311 android.view.SurfaceView$1.onPreDraw:225 android.view.ViewTreeObserver.dispatchOnPreDraw:1124
2021-06-13 17:48:18.531 5941-5941/? I/ViewRootImpl@2dd7e35[GodotApp]: [DP] pd() Asnyc report
2021-06-13 17:48:18.532 5941-11392/? W/RegularContextFactory: creating OpenGL ES 3.0 context :
2021-06-13 17:48:18.532 5941-11236/? I/SurfaceView: setParentSpaceRectangle: useBLAST = false position = Rect(0, 0 - 2400, 1080) frameNumber = 1 t = android.view.SurfaceControl$Transaction@46b5ea5
2021-06-13 17:48:18.532 5941-11236/? I/SurfaceView: applySurfaceTransforms: t = android.view.SurfaceControl$Transaction@46b5ea5 surfaceControl = Surface(name=SurfaceView - run.escapelab.ahprods/com.godot.game.GodotApp@3f4c8b1@0)/@0x12bc27a frame = 1
2021-06-13 17:48:18.532 5941-11236/? I/SurfaceView: applySurfaceTransforms: postScaleX = 1.0 postScaleY = 1.0
2021-06-13 17:48:18.544 5941-5941/? I/ViewRootImpl@2dd7e35[GodotApp]: [DP] pdf(1) 1 android.view.ViewRootImpl.lambda$performDraw$1$ViewRootImpl:4668 android.view.-$$Lambda$ViewRootImpl$DJd0VUYJgsebcnSohO6h8zc_ONI.run:6 android.os.Handler.handleCallback:938
2021-06-13 17:48:18.546 5941-5941/? I/ViewRootImpl@2dd7e35[GodotApp]: MSG_RESIZED_REPORT: frame=(0,0,2400,1080) ci=(80,0,0,0) vi=(0,0,0,0) or=2
2021-06-13 17:48:18.546 5941-5941/? I/ViewRootImpl@2dd7e35[GodotApp]: [DP] dp(2) 1 android.view.ViewRootImpl.reportNextDraw:10957 android.view.ViewRootImpl.access$1200:256 android.view.ViewRootImpl$ViewRootHandler.handleMessage:6101
2021-06-13 17:48:18.559 1333-9184/? V/WindowManager: Relayout hash=1031dc7, pid=5941: mAttrs={(0,0)(fillxfill) sim={adjust=pan forwardNavigation} layoutInDisplayCutoutMode=shortEdges ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x1030001
fl=1a10580
pfl=12020000
vsysui=1706
bhv=SHOW_TRANSIENT_BARS_BY_SWIPE
fitSides= naviIconColor=0}
2021-06-13 17:48:18.559 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897397616]
2021-06-13 17:48:18.559 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897397616]
2021-06-13 17:48:18.559 5941-5941/? I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x6653d6e / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1820 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-06-13 17:48:18.567 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897386080]
2021-06-13 17:48:18.567 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897386080]
2021-06-13 17:48:18.567 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897384288]
2021-06-13 17:48:18.567 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897384288]
2021-06-13 17:48:18.567 5941-5941/? I/ViewRootImpl@2dd7e35[GodotApp]: Relayout returned: old=(0,0,2400,1080) new=(0,0,2400,1080) req=(2400,1080)0 dur=3 res=0x3 s={true 526730595760} ch=false fn=2
2021-06-13 17:48:18.567 5941-5941/? I/ViewRootImpl@2dd7e35[GodotApp]: updateBoundsLayer: shouldReparent = false t = android.view.SurfaceControl$Transaction@3584021 sc = Surface(name=Bounds for - run.escapelab.ahprods/com.godot.game.GodotApp@0)/@0xaa38c46 frame = 2
2021-06-13 17:48:18.568 5941-5941/? I/ViewRootImpl@2dd7e35[GodotApp]: [DP] pd() Asnyc report
2021-06-13 17:48:18.570 929-975/? E/BufferQueueProducer: run.escapelab.ahprods/com.godot.game.GodotApp$_5941#1 disconnect: not connected (req=1)
2021-06-13 17:48:18.570 5941-11213/? W/libEGL: EGLNativeWindowType 0x7aa3970dc0 disconnect failed
2021-06-13 17:48:18.597 5941-5941/? I/ViewRootImpl@2dd7e35[GodotApp]: [DP] pdf(1) 1 android.view.ViewRootImpl.lambda$performDraw$1$ViewRootImpl:4668 android.view.-$$Lambda$ViewRootImpl$DJd0VUYJgsebcnSohO6h8zc_ONI.run:6 android.os.Handler.handleCallback:938
2021-06-13 17:48:18.597 5941-5941/? I/ViewRootImpl@2dd7e35[GodotApp]: [DP] pdf(0) 1 android.view.SurfaceView.notifyDrawFinished:577 android.view.SurfaceView.performDrawFinished:564 android.view.SurfaceView.lambda$TWz4D2u33ZlAmRtgKzbqqDue3iM:0
2021-06-13 17:48:18.597 5941-5941/? I/ViewRootImpl@2dd7e35[GodotApp]: [DP] rdf()
2021-06-13 17:48:18.614 9140-9202/? I/GameTools: DreamToolsEventMgr: onGameResume AppInfo loading completed. AppInfo(packageName=run.escapelab.ahprods, pid=5941, uid=10480)
2021-06-13 17:48:18.642 1333-1453/? I/Pageboost: Launch time gathered : pid 5941 run.escapelab.ahprods 385
2021-06-13 17:48:18.657 1333-8930/? I/InputDispatcher: Focus entered window (5941): 1031dc7 in display 0 0
2021-06-13 17:48:18.658 5941-5941/? I/ViewRootImpl@2dd7e35[GodotApp]: MSG_WINDOW_FOCUS_CHANGED 1 1
2021-06-13 17:48:18.658 5941-5941/? D/InputMethodManager: prepareNavigationBarInfo() DecorView@ca1a9c2[GodotApp]
2021-06-13 17:48:18.658 5941-5941/? D/InputMethodManager: getNavigationBarColor() -16711423
2021-06-13 17:48:18.668 5941-5941/? D/InputMethodManager: prepareNavigationBarInfo() DecorView@ca1a9c2[GodotApp]
2021-06-13 17:48:18.668 5941-5941/? D/InputMethodManager: getNavigationBarColor() -16711423
2021-06-13 17:48:18.669 5941-5941/? V/InputMethodManager: Starting input: tba=run.escapelab.ahprods ic=null mNaviBarColor -16711423 mIsGetNaviBarColorSuccess true , NavVisible : false , NavTrans : false
2021-06-13 17:48:18.669 5941-5941/? D/InputMethodManager: startInputInner - Id : 0
2021-06-13 17:48:18.669 5941-5941/? I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
2021-06-13 17:48:18.670 5941-5941/? D/InputTransport: Input channel constructed: 'ClientS', fd=122
2021-06-13 17:48:18.670 5941-5941/? D/InputTransport: Input channel destroyed: 'ClientS', fd=97
2021-06-13 17:48:18.690 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897471424]
2021-06-13 17:48:18.690 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897471424]
2021-06-13 17:48:18.690 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897397616]
2021-06-13 17:48:18.690 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897397616]
2021-06-13 17:48:18.693 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897387984]
2021-06-13 17:48:18.693 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897387984]
2021-06-13 17:48:18.876 5941-5941/? I/SurfaceView: onWindowVisibilityChanged(8) false org.godotengine.godot.GodotView{c7514a1 VFE...... .F....I. 0,0-2400,1080 aid=1073741825} of ViewRootImpl@c19bb6d[GodotApp]
2021-06-13 17:48:18.876 5941-5941/? I/SurfaceView: surfaceDestroyed callback.size 1 #2 org.godotengine.godot.GodotView{c7514a1 VFE...... .F....I. 0,0-2400,1080 aid=1073741825}
2021-06-13 17:48:18.877 5941-11213/? I/SurfaceView: remove() from RT android.view.SurfaceView$2@39ebb34 Surface(name=SurfaceView - run.escapelab.ahprods/com.godot.game.GodotApp@c7514a1@0)/@0x3be30aa
2021-06-13 17:48:18.877 5941-11213/? I/SurfaceControl: nativeRelease nativeObject s[521897433568]
2021-06-13 17:48:18.877 5941-11213/? I/SurfaceControl: nativeRelease nativeObject e[521897433568]
2021-06-13 17:48:18.877 5941-11213/? I/SurfaceControl: nativeRelease nativeObject s[521897435136]
2021-06-13 17:48:18.877 5941-11213/? I/SurfaceControl: nativeRelease nativeObject e[521897435136]
2021-06-13 17:48:18.878 929-1901/? E/BufferQueueProducer: run.escapelab.ahprods/com.godot.game.GodotApp$_5941#0 disconnect: not connected (req=1)
2021-06-13 17:48:18.878 5941-11213/? W/libEGL: EGLNativeWindowType 0x7aa382f650 disconnect failed
2021-06-13 17:48:18.883 1333-8930/? V/WindowManager: Relayout hash=c07919d, pid=5941: mAttrs={(0,0)(fillxfill) sim={adjust=pan forwardNavigation} layoutInDisplayCutoutMode=shortEdges ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x1030001
fl=1a10580
pfl=12020000
vsysui=1706
bhv=SHOW_TRANSIENT_BARS_BY_SWIPE
fitSides= naviIconColor=0}
2021-06-13 17:48:18.884 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897394704]
2021-06-13 17:48:18.884 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897394704]
2021-06-13 17:48:18.884 5941-5941/? I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0xb7c26d2 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1810 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-06-13 17:48:18.884 5941-5941/? I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x75ee423 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1820 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2021-06-13 17:48:18.884 5941-5941/? I/SurfaceControl: nativeRelease nativeObject s[521897436816]
2021-06-13 17:48:18.884 5941-5941/? I/SurfaceControl: nativeRelease nativeObject e[521897436816]
2021-06-13 17:48:18.885 5941-5941/? I/ViewRootImpl@c19bb6d[GodotApp]: Relayout returned: old=(0,0,2400,1080) new=(0,0,2400,1080) req=(2400,1080)8 dur=5 res=0x5 s={false 0} ch=true fn=11
2021-06-13 17:48:18.885 5941-5941/? I/SurfaceView: windowStopped(true) false org.godotengine.godot.GodotView{c7514a1 VFE...... .F....I. 0,0-2400,1080 aid=1073741825} of ViewRootImpl@c19bb6d[GodotApp]
2021-06-13 17:48:18.886 5941-5941/? I/ViewRootImpl@c19bb6d[GodotApp]: stopped(true) old=false
2021-06-13 17:48:18.903 5941-5941/? I/capelab.ahprod: System.exit called, status: 0
2021-06-13 17:48:18.904 5941-5941/? I/AndroidRuntime: VM exiting with result code 0, cleanup skipped.
2021-06-13 17:48:19.041 826-826/? I/Zygote: Process 5941 exited cleanly (0)
2021-06-13 17:48:19.041 1333-7069/? I/ActivityManager: Process run.escapelab.ahprods (pid 5941) has died: fg TOP (563,1662)
2021-06-13 17:48:19.043 1333-8412/? I/WindowManager: Destroying surface Surface(name=run.escapelab.ahprods/com.godot.game.GodotApp$_5941)/@0x442d3fa called by com.android.server.wm.WindowStateAnimator.destroySurface:1794 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:765 com.android.server.wm.WindowState.removeImmediately:2665 com.android.server.wm.WindowState.removeIfPossible:2830 com.android.server.wm.WindowState.access$300:294 com.android.server.wm.WindowState$DeathRecipient.binderDied:3407 android.os.IBinder$DeathRecipient.binderDied:311 android.os.BinderProxy.sendDeathNotice:719
2021-06-13 17:48:19.044 1333-1457/? I/libprocessgroup: Successfully killed process cgroup uid 10480 pid 5941 in 0ms
2021-06-13 17:48:19.044 929-1902/? I/Layer: id=47037 removeFromCurrentState run.escapelab.ahprods/com.godot.game.GodotApp$_5941#0 (155)
2021-06-13 17:48:19.046 929-1902/? I/SurfaceFlinger: id=47037 Removed run.escapelab.ahprods/com.godot.game.GodotApp$_5941#0 (155)
2021-06-13 17:48:19.051 1333-8389/? I/WindowManager: Destroying surface Surface(name=run.escapelab.ahprods/com.godot.game.GodotApp$_5941)/@0x9da35c6 called by com.android.server.wm.WindowStateAnimator.destroySurface:1794 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:765 com.android.server.wm.WindowState.removeImmediately:2665 com.android.server.wm.WindowState.removeIfPossible:2830 com.android.server.wm.WindowState.access$300:294 com.android.server.wm.WindowState$DeathRecipient.binderDied:3407 android.os.IBinder$DeathRecipient.binderDied:311 android.os.BinderProxy.sendDeathNotice:719
2021-06-13 17:48:19.052 929-975/? I/Layer: id=47076 removeFromCurrentState run.escapelab.ahprods/com.godot.game.GodotApp$_5941#1 (156)
2021-06-13 17:48:19.052 929-975/? I/SurfaceFlinger: id=47076 Removed run.escapelab.ahprods/com.godot.game.GodotApp$_5941#1 (156)
2021-06-13 17:48:19.055 929-929/? I/Layer: id=47037[1] Destroyed run.escapelab.ahprods/com.godot.game.GodotApp$_5941#0
2021-06-13 17:48:19.055 929-929/? I/Layer: id=47076[1] Destroyed run.escapelab.ahprods/com.godot.game.GodotApp$_5941#1
2021-06-13 17:48:19.056 1333-8389/? I/InputDispatcher: Focus left window (5941): 1031dc7 in display 0 0
2021-06-13 17:48:19.086 1333-1448/? W/ActivityManager: setHasOverlayUi called on unknown pid: 5941

@DrMoriarty
Copy link
Owner

@avnerh1
Thanks. I see the errors in the log. I'll deal with them soon.

@avnerh1
Copy link

avnerh1 commented Jun 14, 2021

When user opens application with notification clicking you can call localnotification.get_notification_data() and get all custom data which was stored in notification. So you can decide what scene to open for this user.
This custom data can be set with remote notifications.
The only thing which we should add - setting custom data for local notifications.

Looking forward to adding custom data for local notifications.

On the same note, would it be possible to allow opening a URL in the browser upon tapping the notification, instead of starting the app?

@ZeroKun265
Copy link

When user opens application with notification clicking you can call localnotification.get_notification_data() and get all custom data which was stored in notification. So you can decide what scene to open for this user.
This custom data can be set with remote notifications.
The only thing which we should add - setting custom data for local notifications.

Looking forward to adding custom data for local notifications.

On the same note, would it be possible to allow opening a URL in the browser upon tapping the notification, instead of starting the app?

Couldn't you just have a main scene that checks if the app was opened by the notification and if not runs the app's main scene but if it was opened from a notification runs OS.shell_open(url: str) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants