Skip to content

Commit

Permalink
[profile] add thanox parser context and Pkg new ins API
Browse files Browse the repository at this point in the history
  • Loading branch information
Tornaco committed May 8, 2023
1 parent f7a6747 commit ea230c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ public int hashCode() {
return Objects.hash(pkgName, userId);
}

public static Pkg newPkg(String pkgName, int userId) {
return new Pkg(pkgName, userId);
}

public static Pkg from(String pkgName, int uid) {
return new Pkg(pkgName, UserHandle.getUserId(uid));
}
Expand Down
2 changes: 1 addition & 1 deletion android/internal/Thanox-Internal

0 comments on commit ea230c4

Please sign in to comment.