java.lang.SecurityException: Call from user 0 as user 8333 without permission INTERACT_ACROSS_USERS or INTERACT_ACROSS_USERS_FULL not allowed
My app crashes on an android 11 device when I try to show a toast from a fragment by clicking a button in the adapter. I have an interface through which the toast is shown.
The error log is:
java.lang.SecurityException: Call from user 0 as user 8333 without permission INTERACT_ACROSS_USERS or INTERACT_ACROSS_USERS_FULL not allowed.
at android.os.Parcel.createExceptionOrNull(Parcel.java:2373)
at android.os.Parcel.createException(Parcel.java:2357)
at...