Are there any restrictions on pushing static cards to the timeline from various threads? I'm pushing a card and getting this exception, but the card shows up anyway. Want to make sure i'm not doing something wrong:
456-456/? D/StrictMode﹕ StrictMode policy violation; ~duration=9 ms: android.os.StrictMode$StrictModeDiskReadViolation: policy=31 violation=2
at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1089)
at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1557)
at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1449)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1405)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1485)
at com.google.android.glass.timeline.TimelineProvider.queryInternal(TimelineProvider.java:347)
at com.google.android.glass.timeline.TimelineProvider.query(TimelineProvider.java:237)
at android.content.ContentProvider$Transport.query(ContentProvider.java:178)
at android.content.ContentResolver.query(ContentResolver.java:311)
at com.google.android.glass.timeline.PastCardDeck.queryCards(PastCardDeck.java:302)
at com.google.android.glass.timeline.PastCardDeck.refresh(PastCardDeck.java:254)
at com.google.android.glass.timeline.PastCardDeck.access$200(PastCardDeck.java:51)
at com.google.android.glass.timeline.PastCardDeck$1.onChange(PastCardDeck.java:150)
at android.database.ContentObserver$NotificationRunnable.run(ContentObserver.java:43)
at android.os.Handler.handleCallback(Handler.java:624)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
EDIT: I'm adding the card to the TimelineManager from a separate thread, not the UI thread, and not the service thread.