Show app UID and shared-UID siblings, add uid: search filter (#229)#642
Closed
kasnder wants to merge 2 commits into
Closed
Show app UID and shared-UID siblings, add uid: search filter (#229)#642kasnder wants to merge 2 commits into
kasnder wants to merge 2 commits into
Conversation
Apps sharing a UID are controlled together by the VPN (blocking is
per-UID), so changing a setting for one app silently affects its
shared-UID siblings. Surface this instead of hiding it:
- Details screen now shows the app's UID and, if other installed
packages share it, their names ("Shares app ID with: ...").
- App-list search supports "uid:<number>" to find every app sharing
a given UID.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
kasnder
commented
Jul 12, 2026
kasnder
left a comment
Member
Author
There was a problem hiding this comment.
Reviewed the UID display, shared-package lookup, uid: filter behavior, layout integration, and surrounding details/search code. I found no actionable correctness issue. :app:compileGithubDebugJavaWithJavac succeeds, and the branch is clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #229.
Android apps can share a UID (e.g. via
android:sharedUserId, or when thesystem assigns the same UID to multiple packages). TrackerControl's
blocking is applied per-UID, so a setting change for one app silently
affects its shared-UID siblings — several users found this surprising,
and one commenter specifically asked for visibility into this without
adding UI clutter or new toggles.
This PR adds minimal, unobtrusive visibility into UID sharing:
DetailsActivity): shows the app's UID under thetoolbar, and — only if other installed packages share that UID — a
second line "Shares app ID with: ..." listing them, using
PackageManager.getPackagesForUid.AdapterRule'sFilter): supports auid:<number>query to filter the list down to every app sharing a given UID, so users
can go find the siblings mentioned in the details screen. Existing
free-text/UID search behavior is unchanged.
app_uid,app_uid_shared_with) added to the baseEnglish
strings.xmlonly, per the project's translation workflow.No new settings/toggles were added, keeping the UI as simple as before.
Test plan
./gradlew :app:compileGithubDebugJavaWithJavacpasses.screen and confirm the UID line appears (and the "shares app ID
with" line appears for an app that has a shared-UID sibling, e.g.
two apps from the same vendor using
android:sharedUserId).search
uid:<uid>for a known UID and confirm only apps with thatUID are shown.
🤖 Generated with Claude Code