Skip to content
New issue

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

RebootWatcher crashes with MissingTimeDataException, no registerRebootWatcher but in manifest.. #12

Open
nshutov opened this issue Jul 24, 2020 · 1 comment

Comments

@nshutov
Copy link

nshutov commented Jul 24, 2020

RebootWatcher registered in manifest and this BroadcastReceiver give onReceive but MuTime system dont initialized.
Please dont register RebootWatcher in manifest!

com.medavox.library.mutime.DiskCache.getTimeData
DiskCache.kt, line 34
com.medavox.library.mutime.MissingTimeDataException: no time data in SharedPreferences. Has MuTime been run at least once?

com.medavox.library.mutime.DiskCache.getTimeData DiskCache.kt:34
com.medavox.library.mutime.RebootWatcher.onReceive RebootWatcher.kt:28
android.app.ActivityThread.handleReceiver ActivityThread.java:2419
android.app.ActivityThread.access$1700 ActivityThread.java:135
android.app.ActivityThread$H.handleMessage ActivityThread.java:1272
android.os.Handler.dispatchMessage Handler.java:102
android.os.Looper.loop Looper.java:136
android.app.ActivityThread.main ActivityThread.java:5047
java.lang.reflect.Method.invokeNative Method.java
java.lang.reflect.Method.invoke Method.java:515
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run ZygoteInit.java:828
com.android.internal.os.ZygoteInit.main ZygoteInit.java:644
dalvik.system.NativeStart.main NativeStart.java
@medavox
Copy link
Owner

medavox commented Jul 25, 2020

Pull requests are welcome, and will be reviewed and accepted :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants