Skip to content

Fix For Device With A Restrictive Account #3299

@nochlab1

Description

@nochlab1

If you have a device that lets you have multiple users and one of the users is a Restrictive user then you get this error
Error while building the TUN interface
java.lang.SecurityException: getPackageUid: Neither user 10515 nor current process has android.permission.INTERACT_ACROSS_USERS.
Now i have other vpns not installed from play stor that do work but i have figured out another solution
I added this

<uses-permission
android:name="android.permission.INTERACT_ACROSS_USERS"

To the android manifest and rebuilt the app then used this command in adb

adb shell pm grant com.adguard.android android.permission.INTERACT_ACROSS_USERS

And now it works

(No root android 9 Samsung oneui 1.5)

Please put in this fix
Thanks

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions