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
{{ message }}
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
I initialized Tray in an Activity a NotificationListenerService which runs in its own process and a BroadcastReceiver which is within the main process.
Devices
Google Pixel 2, OnePlus 5T
Android Version
Both devices on Android 8.1
Stacktrace
Stacktrace
Caused by: net.grandcentrix.tray.core.TrayRuntimeException:
at net.grandcentrix.tray.provider.TrayContract.d (TrayContract.java:98)
at net.grandcentrix.tray.provider.TrayContract.generateContentUri (TrayContract.java)
at net.grandcentrix.tray.provider.TrayContract.a (TrayContract.java:2)
at net.grandcentrix.tray.provider.TrayUri.<init> (TrayUri.java:5)
at net.grandcentrix.tray.provider.ContentProviderStorage.<init> (ContentProviderStorage.java:23)
at net.grandcentrix.tray.TrayPreferences.<init> (TrayPreferences.java:2)
at net.grandcentrix.tray.TrayPreferences.<init> (TrayPreferences.java:2)
at net.grandcentrix.tray.AppPreferences.<init> (AppPreferences.java:5)
at com.cilenco.services.BootCompleteListener.onReceive (BootCompleteListener.java:90)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3187)
at android.app.ActivityThread.-wrap17 (Unknown Source)
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:6494)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:807)
Description
Might be an error within my code. The receiver gets called with ACTION_LOCKED_BOOT_COMPLETED (in 8.1) Do I have to use createDeviceProtectedStorageContext here to get an AppPreference object? If so the issue can be marked as closed but otherwise I have no clue where the error should be.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
tray Version
I'm using Tray version 0.12.0
My setup for tray
I initialized Tray in an
Activity
aNotificationListenerService
which runs in its own process and aBroadcastReceiver
which is within the main process.Devices
Google Pixel 2, OnePlus 5T
Android Version
Both devices on Android 8.1
Stacktrace
Stacktrace
Description
Might be an error within my code. The receiver gets called with
ACTION_LOCKED_BOOT_COMPLETED
(in 8.1) Do I have to usecreateDeviceProtectedStorageContext
here to get anAppPreference
object? If so the issue can be marked as closed but otherwise I have no clue where the error should be.The text was updated successfully, but these errors were encountered: