We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I m trying to run the sample service which starts up fine with the app but when app is swiped closed it tries to restarts but fails
` 02-01 17:21:46.677 3432 14555 I ActivityManager: Killing 24959:com.myapp.android/u0a192 (adj 1001): remove task 02-01 17:21:46.678 3432 14555 I ActivityManager: Killing 25003:com.android.chrome:sandboxed_process0/u0a192i15 (adj 900): remove task 02-01 17:21:46.689 6336 25179 D NetworkStateUtils: netWorkState=4 02-01 17:21:46.689 6336 25179 D TrafficAlarmReceiver: isDataNetworkActive=true,isMobileData=true 02-01 17:21:46.702 6336 25179 D TrafficAlarmReceiver: enableTrafficUsageAlertServices shouldStartRunningOutMonitorService=false,shouldStartDataWarnMonitorService=false 02-01 17:21:46.711 3432 14555 D ActivityManager: Process com.android.chrome:sandboxed_process0 has 1 services 02-01 17:21:46.711 3432 14555 W ActivityManager: Scheduling restart of crashed service com.myapp.android/org.chromium.content.app.SandboxedProcessService0 in 1000ms 02-01 17:21:46.735 3432 3452 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=80, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ], android.os.BinderProxy@491173a) 02-01 17:21:46.736 3432 8724 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=79, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ], android.os.BinderProxy@7b6bfeb) 02-01 17:21:46.736 3432 5634 D EmbryoManager: prepare com.myapp.android user 0 02-01 17:21:46.736 3432 4346 D ConnectivityService: releasing NetworkRequest [ LISTEN id=80, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ] (CALLBACK_RELEASED) 02-01 17:21:46.736 3432 4346 D ConnectivityService: sending notification RELEASED for NetworkRequest [ LISTEN id=80, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ] 02-01 17:21:46.736 3432 4346 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=80, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ] 02-01 17:21:46.736 3432 4346 D ConnectivityService: releasing NetworkRequest [ LISTEN id=79, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ] (CALLBACK_RELEASED) 02-01 17:21:46.737 3432 4346 D ConnectivityService: sending notification RELEASED for NetworkRequest [ LISTEN id=79, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ] 02-01 17:21:46.737 3432 4346 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=79, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ] 02-01 17:21:46.737 3432 5634 D ActivityManager: Process com.myapp.android has 1 services 02-01 17:21:46.738 3432 5634 W ActivityManager: Scheduling restart of crashed service com.myapp.android/.MyService in 1000ms
ActivityManager: Unable to launch app com.myapp.android/10192 for service Intent { cmp=com.myapp.android/.MyService }: process is bad 02-01 17:21:48.245 3248 3248 E adbd : failed to connect to socket 'localabstract:chrome_devtools_remote': Connection refused 002-01 17:21:48.246 3248 3248 E adbd : failed to connect to socket 'localabstract:chrome_devtools_remote': Connection refused 02-01 17:21:49.791 3432 3465 D Embryo_Uterus: Embryo created.com.myapp.android, pid=25188 02-01 17:21:49.803 25188 25188 I zygote64: Late-enabling -Xcheck:jni 02-01 17:21:49.865 3432 14555 D EmbryoManager: Embryo attached, pid=25188 02-01 17:21:49.899 25188 25188 D Embryo : preload com.myapp.android, 12ms, hwui=true, layout=false, decor=false 02-01 17:21:49.900 3432 14555 D Embryo_Uterus: get preload status from 25188, success=true 02-01 17:21:49.901 25188 25204 I Adreno : QUALCOMM build : 08cdca0, I5f270ba9bc 02-01 17:21:49.901 25188 25204 I Adreno : Build Date : 09/18/17 02-01 17:21:49.901 25188 25204 I Adreno : OpenGL ES Shader Compiler Version: EV031.20.00.04 02-01 17:21:49.901 25188 25204 I Adreno : Local Branch : 02-01 17:21:49.901 25188 25204 I Adreno : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.6.5.R1.08`
How can I make sure service restarts properly after exit. I want to basically receive notification when app is swiped closed from tray.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I m trying to run the sample service which starts up fine with the app but when app is swiped closed it tries to restarts but fails
`
02-01 17:21:46.677 3432 14555 I ActivityManager: Killing 24959:com.myapp.android/u0a192 (adj 1001): remove task
02-01 17:21:46.678 3432 14555 I ActivityManager: Killing 25003:com.android.chrome:sandboxed_process0/u0a192i15 (adj 900): remove task
02-01 17:21:46.689 6336 25179 D NetworkStateUtils: netWorkState=4
02-01 17:21:46.689 6336 25179 D TrafficAlarmReceiver: isDataNetworkActive=true,isMobileData=true
02-01 17:21:46.702 6336 25179 D TrafficAlarmReceiver: enableTrafficUsageAlertServices shouldStartRunningOutMonitorService=false,shouldStartDataWarnMonitorService=false
02-01 17:21:46.711 3432 14555 D ActivityManager: Process com.android.chrome:sandboxed_process0 has 1 services
02-01 17:21:46.711 3432 14555 W ActivityManager: Scheduling restart of crashed service com.myapp.android/org.chromium.content.app.SandboxedProcessService0 in 1000ms
02-01 17:21:46.735 3432 3452 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=80, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ], android.os.BinderProxy@491173a)
02-01 17:21:46.736 3432 8724 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=79, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ], android.os.BinderProxy@7b6bfeb)
02-01 17:21:46.736 3432 5634 D EmbryoManager: prepare com.myapp.android user 0
02-01 17:21:46.736 3432 4346 D ConnectivityService: releasing NetworkRequest [ LISTEN id=80, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ] (CALLBACK_RELEASED)
02-01 17:21:46.736 3432 4346 D ConnectivityService: sending notification RELEASED for NetworkRequest [ LISTEN id=80, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ]
02-01 17:21:46.736 3432 4346 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=80, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ]
02-01 17:21:46.736 3432 4346 D ConnectivityService: releasing NetworkRequest [ LISTEN id=79, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ] (CALLBACK_RELEASED)
02-01 17:21:46.737 3432 4346 D ConnectivityService: sending notification RELEASED for NetworkRequest [ LISTEN id=79, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ]
02-01 17:21:46.737 3432 4346 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=79, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND] ]
02-01 17:21:46.737 3432 5634 D ActivityManager: Process com.myapp.android has 1 services
02-01 17:21:46.738 3432 5634 W ActivityManager: Scheduling restart of crashed service com.myapp.android/.MyService in 1000ms
ActivityManager: Unable to launch app com.myapp.android/10192 for service Intent { cmp=com.myapp.android/.MyService }: process is bad
02-01 17:21:48.245 3248 3248 E adbd : failed to connect to socket 'localabstract:chrome_devtools_remote': Connection refused
002-01 17:21:48.246 3248 3248 E adbd : failed to connect to socket 'localabstract:chrome_devtools_remote': Connection refused
02-01 17:21:49.791 3432 3465 D Embryo_Uterus: Embryo created.com.myapp.android, pid=25188
02-01 17:21:49.803 25188 25188 I zygote64: Late-enabling -Xcheck:jni
02-01 17:21:49.865 3432 14555 D EmbryoManager: Embryo attached, pid=25188
02-01 17:21:49.899 25188 25188 D Embryo : preload com.myapp.android, 12ms, hwui=true, layout=false, decor=false
02-01 17:21:49.900 3432 14555 D Embryo_Uterus: get preload status from 25188, success=true
02-01 17:21:49.901 25188 25204 I Adreno : QUALCOMM build : 08cdca0, I5f270ba9bc
02-01 17:21:49.901 25188 25204 I Adreno : Build Date : 09/18/17
02-01 17:21:49.901 25188 25204 I Adreno : OpenGL ES Shader Compiler Version: EV031.20.00.04
02-01 17:21:49.901 25188 25204 I Adreno : Local Branch :
02-01 17:21:49.901 25188 25204 I Adreno : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.6.5.R1.08`
How can I make sure service restarts properly after exit.
I want to basically receive notification when app is swiped closed from tray.
The text was updated successfully, but these errors were encountered: