-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Describe the bug
When I open the notable and exit, and then enter the notable settings menu through the drop-down menu, the application crashes. Later I found out that this problem only happens when the global settings game_mode_on property is set to 1.
Device: [galaxy a6s]
OS version: [Android 8.1.0]
App version: [1.6.0]
Steps to reproduce the behavior
adb shell settings put global game_mode_on 1
Open notable
Press Back
Drop-down menu
Click on Notable
Click on SETTINGS
Press Back
Carsh
Carsh logcat
Shutting down VM
FATAL EXCEPTION: main
Process: com.icechen1.notable, PID: 11717
java.lang.RuntimeException: Unable to pause activity {com.icechen1.notable/com.icechen1.notable.library.PreferencesActivity}: java.lang.SecurityException: Unable to start service Intent { cmp=com.icechen1.notable/.library.NotificationService_ (has extras) }: Unable to launch app com.icechen1.notable/10197 for service Intent { cmp=com.icechen1.notable/.library.NotificationService_ }: com.icechen1.notable is restricted
at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:4095)
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4061)
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4035)
at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:4009)
at android.app.ActivityThread.-wrap15(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6746)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: java.lang.SecurityException: Unable to start service Intent { cmp=com.icechen1.notable/.library.NotificationService_ (has extras) }: Unable to launch app com.icechen1.notable/10197 for service Intent { cmp=com.icechen1.notable/.library.NotificationService_ }: com.icechen1.notable is restricted
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1517)
at android.app.ContextImpl.startService(ContextImpl.java:1477)
at android.content.ContextWrapper.startService(ContextWrapper.java:650)
at com.icechen1.notable.library.PreferencesActivity.onPause(Unknown Source:36)
at android.app.Activity.performPause(Activity.java:7168)
at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1409)
at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:4084)
... 11 more
Screenshots
Recorded video see attachment
record.zip
Metadata
Metadata
Assignees
Labels
No labels