Describe the bug
Title
To Reproduce
Steps to reproduce the behavior:
Hold home screen
Click on widgets
Scroll down to the end
Add ZimLX action widget to home screen
Select the action to be Sleep (timeout)
Click on the widget
App requests update settings permission
Click again
App crashes
Expected behavior
It is supposed to sleep after a few seconds
Smartphone (please complete the following information):
Device: Redmi note 4
OS: Android 7.1
Browser: Chrome for Android
Version [e.g. 22]
Additional context
Build version: 0.6.2b
Build date: 1980-01-01 00:00:00
Current date: 2019-07-08 10:14:23
Device: Xiaomi Redmi Note 4
Stack trace:
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.zimmob.zimlx/org.zimmob.zimlx.gestures.ui.RunHandlerActivity}: android.content.ActivityNotFoundException: Unable to find explicit activity class {org.zimmob.zimlx/org.zimmob.zimlx.gestures.handlers.SleepTimeoutActivity}; have you declared this activity in your AndroidManifest.xml?
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2747)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2808)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1541)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:165)
at android.app.ActivityThread.main(ActivityThread.java:6375)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802)
Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {org.zimmob.zimlx/org.zimmob.zimlx.gestures.handlers.SleepTimeoutActivity}; have you declared this activity in your AndroidManifest.xml?
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1812)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1525)
at android.app.Activity.startActivityForResult(Activity.java:4396)
at com.android.launcher3.Launcher.startActivityForResult(Launcher.java:1515)
at android.app.Activity.startActivityForResult(Activity.java:4355)
at android.app.Activity.startActivity(Activity.java:4679)
at android.app.Activity.startActivity(Activity.java:4647)
at org.zimmob.zimlx.gestures.handlers.SleepGestureHandlerTimeout.onGestureTrigger(SleepGestureHandler.kt:130)
at org.zimmob.zimlx.gestures.GestureHandler.onGestureTrigger$default(GestureHandler.kt:38)
at org.zimmob.zimlx.gestures.ui.RunHandlerActivity.triggerGesture(RunHandlerActivity.kt:58)
at org.zimmob.zimlx.gestures.ui.RunHandlerActivity.onCreate(RunHandlerActivity.kt:50)
at android.app.Activity.performCreate(Activity.java:6845)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2700)
... 9 more
Describe the bug Title To Reproduce Steps to reproduce the behavior:
Expected behavior It is supposed to sleep after a few seconds
Smartphone (please complete the following information):
Additional context