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

If it's not a default app, show a notification, not an error #415

Open
3 tasks done
Notesuree opened this issue Oct 25, 2024 · 0 comments
Open
3 tasks done

If it's not a default app, show a notification, not an error #415

Notesuree opened this issue Oct 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Notesuree
Copy link

Steps to reproduce

  1. Go to messages, recent calls
  2. Error when holding a message, phone number

Expected behavior

Show notification not error

Actual behavior

FATAL EXCEPTION: main
Process: com.bnyro.contacts.debug, PID: 15910
java.lang.SecurityException: Caller must be system, default dialer or default SMS app
at android.os.Parcel.createExceptionOrNull(Parcel.java:2438)
at android.os.Parcel.createException(Parcel.java:2422)
at android.os.Parcel.readException(Parcel.java:2405)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)
at android.content.ContentProviderProxy.call(ContentProviderNative.java:732)
at android.content.ContentResolver.call(ContentResolver.java:2457)
at android.content.ContentResolver.call(ContentResolver.java:2437)
at android.provider.BlockedNumberContract.isBlocked(BlockedNumberContract.java:329)
at com.bnyro.contacts.presentation.screens.sms.SmsListScreenKt$SMSThreadOptionsSheet$1.invokeSuspend(SmsListScreen.kt:199)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at androidx.compose.ui.platform.AndroidUiDispatcher.performTrampolineDispatch(AndroidUiDispatcher.android.kt:81)
at androidx.compose.ui.platform.AndroidUiDispatcher.access$performTrampolineDispatch(AndroidUiDispatcher.android.kt:41)
at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.doFrame(AndroidUiDispatcher.android.kt:68)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1106)
at android.view.Choreographer.doCallbacks(Choreographer.java:866)
at android.view.Choreographer.doFrame(Choreographer.java:792)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1092)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@93426a, androidx.compose.runtime.BroadcastFrameClock@4ebc35b, StandaloneCoroutine{Cancelling}@14a17f8, AndroidUiDispatcher@1a9f4d1]

Connect You version

9.0 (28) beta

Android version

Misc

Other details

No

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I will fill out all of the requested information in this form.
@Notesuree Notesuree added the bug Something isn't working label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant