Samsung Count Icon

I designed an account icon for a Samsung device. I added icon resolution:

<uses-permission android:name="com.sec.android.provider.badge.permission.READ" /> <uses-permission android:name="com.sec.android.provider.badge.permission.WRITE" /> 

in the Android manifest.

On my device, Samsung (Samsung Note 2, Samsung Note 4, Galaxy Young, Samsung S4) works, but when I publish the client with the Samsung Galaxy Grand I9082 , Samsung Galaxy Grand I9080L and Samsung Galaxy Note 8.0 GT N5110 crashes.

This is the log:

 java.lang.SecurityException: Permission Denial: opening provider com.sec.android.provider.badge.BadgeProvider from ProcessRecord{43830aa0 2628:id.co.elevenia/u0a363} (pid=2628, uid=10363) requires com.sec.android.provider.badge.permission.READ or com.sec.android.provider.badge.permission.WRITE 

Can someone help me?

+5
source share

Source: https://habr.com/ru/post/1209049/


All Articles