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
The bug is intermittent. Sometimes it crashes the app. Sometimes everything works as expected.
Open Noice
Press 'Home' button on the navigation bar
Bring Noice to foreground again
Crash
Expected behavior
No crash
Screenshots
N/A
Others
Device: Samsung Galaxy Note 8
Android Version: Pie
Crashlog
From the Play Store
java.lang.RuntimeException:
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4016)
at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4048)
at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:145)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:70)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1950)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7073)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:965)
Caused by: java.lang.IllegalStateException:
at android.app.ContextImpl.startServiceCommon (ContextImpl.java:1666)
at android.app.ContextImpl.startService (ContextImpl.java:1611)
at android.content.ContextWrapper.startService (ContextWrapper.java:677)
at com.github.ashutoshgngwr.noice.MainActivity.onResume (MainActivity.java:10)
at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1412)
at android.app.Activity.performResume (Activity.java:7572)
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4008)
at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4048)
at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:145)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:70)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1950)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7073)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:965)
The text was updated successfully, but these errors were encountered:
Describe the bug
Happening due to the recent change in Service launch logic. Moving the service launch to
onResume
put us in crosshair of a bug in Android 9.Original bug reports
To Reproduce
The bug is intermittent. Sometimes it crashes the app. Sometimes everything works as expected.
Expected behavior
No crash
Screenshots
N/A
Others
Crashlog
From the Play Store
The text was updated successfully, but these errors were encountered: