afahskljlhdsfgfjfgj
Lurker
I have android system application which need to support multi user (i.e single device having different user profile). My application shows notification to user. I want notification should be seen all users along with with user 0. But only USER 0 is showing the notification. Other users not showing notification.
I am expecting notification to be shown in other user when it is ACTIVE. I am not seeing that notification when it is ACTIVE
I added below permission in my code.
<permission android:name="android.permission.INTERACT_ACROSS_USERS"
android
rotectionLevel="signatureOrSystem"
tools:ignore="ProtectedPermissions"/>
<permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
android
rotectionLevel="signature"
tools:ignore="ProtectedPermissions"/>
Also added
android:singleUser="true" for all the receivers and services. Still not able to see notification on other users other than USER 0.
adb command used to switch users : am switch-user USER_ID. when i run this command i am seeing my other user is also running
Example:
$ adb shell pm list users
Users:
UserInfo{0:Owner:13} running
UserInfo{10:New User:10} running
UserInfo{12:Guest:14}
I added multiple user by using System->multiple users -> add user settings
What could be the reason?. I kindly request you to help me to resolve this issue
I am expecting notification to be shown in other user when it is ACTIVE. I am not seeing that notification when it is ACTIVE
I added below permission in my code.
<permission android:name="android.permission.INTERACT_ACROSS_USERS"
android

tools:ignore="ProtectedPermissions"/>
<permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
android

tools:ignore="ProtectedPermissions"/>
Also added
android:singleUser="true" for all the receivers and services. Still not able to see notification on other users other than USER 0.
adb command used to switch users : am switch-user USER_ID. when i run this command i am seeing my other user is also running
Example:
$ adb shell pm list users
Users:
UserInfo{0:Owner:13} running
UserInfo{10:New User:10} running
UserInfo{12:Guest:14}
I added multiple user by using System->multiple users -> add user settings
What could be the reason?. I kindly request you to help me to resolve this issue
Last edited: