Conversation
Allow choosing which user profile the Shizuku installer targets: current (personal), work profile, or all profiles at once. - ShizukuInstaller now enumerates profiles via IUserManager and creates install sessions bound to each target user id through PackageInstallerHidden, falling back to the current profile when the requested one is unavailable. - New PREFERENCE_INSTALLATION_PROFILE preference with a single-choice dialog in the installation settings, shown only when Shizuku is the active installer.
The hidden-api stub's IUserManager exposes getUsers(), not getProfiles(), which broke compilation (unresolved reference). Switch to getUsers() with the three-arg overload on API 30+ and the single-arg overload below it, keeping the managed-profile filter for the work profile and falling back to the current profile when enumeration yields nothing.
Translate the four pref_install_profile_* strings into all 53 supported locales.
darkydtm
force-pushed
the
pr/install-profile-shizuku
branch
from
June 29, 2026 19:38
1cfe33c to
5d7c95c
Compare
coreylovegrove1-cell
approved these changes
Jul 14, 2026
Author
|
fixed conflicts |
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.
What this does
Lets you choose which user profile the Shizuku installer installs into - Current profile (default), Work profile or All profiles. Other installers lack the privileges for cross-profile installs and ignore the setting.
Implementation