Skip to content

Add INTERACT_ACROSS_USERS permission#193

Merged
chenxiaolong merged 1 commit into
masterfrom
interact-across-users
Jun 28, 2026
Merged

Add INTERACT_ACROSS_USERS permission#193
chenxiaolong merged 1 commit into
masterfrom
interact-across-users

Conversation

@chenxiaolong

Copy link
Copy Markdown
Owner

Android 17 no longer allows localhost communication between instances of the same app across different users (including profiles). However, manually granting the INTERACT_ACROSS_USERS permission via adb will restore this access. This commit adds a small script to make this process easier.

AOSP commit: https://android.googlesource.com/platform/packages/modules/Connectivity/+/919bebc9fd8d861cad577475e8904c92a599fbca

Fixes: #192

@chenxiaolong chenxiaolong self-assigned this Jun 28, 2026
Android 17 no longer allows localhost communication between instances of
the same app across different users (including profiles). However,
manually granting the INTERACT_ACROSS_USERS permission via adb will
restore this access. This commit adds a small script to make this
process easier.

AOSP commit: https://android.googlesource.com/platform/packages/modules/Connectivity/+/919bebc9fd8d861cad577475e8904c92a599fbca

Fixes: #192

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong chenxiaolong force-pushed the interact-across-users branch from 0dbbd5c to 204c791 Compare June 28, 2026 21:49
chenxiaolong added a commit that referenced this pull request Jun 28, 2026
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong chenxiaolong merged commit 204c791 into master Jun 28, 2026
1 check passed
@chenxiaolong chenxiaolong deleted the interact-across-users branch June 28, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add INTERACT_ACROSS_USERS permission for Android 17 compatability

1 participant