You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a few devices on Android 8.0, context.getApplicationContext() from a BroadcastReceiver isn't returning a Kontalk object any more. And of course no documentation about that. Probably something related to the context being created with a different/wrapped/whatever application context.
Replace the Kontalk-casted getApplicationContext calls with a simple singleton.
Caused by: java.lang.ClassCastException:
at org.kontalk.service.NetworkStateReceiver.shouldReconnect (NetworkStateReceiver.java:125)
at org.kontalk.service.NetworkStateReceiver.onReceive (NetworkStateReceiver.java:80)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3266)
The text was updated successfully, but these errors were encountered:
On a few devices on Android 8.0, context.getApplicationContext() from a BroadcastReceiver isn't returning a Kontalk object any more. And of course no documentation about that. Probably something related to the context being created with a different/wrapped/whatever application context.
Replace the Kontalk-casted getApplicationContext calls with a simple singleton.
The text was updated successfully, but these errors were encountered: