Skip to content

feat: Intercept session install and fix permissions on Android 14+#12

Merged
Chimioo merged 2 commits intoChimioo:mainfrom
wxxsfxyzm:feat/confirm-perm
Jan 11, 2026
Merged

feat: Intercept session install and fix permissions on Android 14+#12
Chimioo merged 2 commits intoChimioo:mainfrom
wxxsfxyzm:feat/confirm-perm

Conversation

@wxxsfxyzm
Copy link
Contributor

  • Implement intercept_session_install to intercept CONFIRM_INSTALL requests
  • Add "Fix Permissions" feature for Android 14+ to bypass READ_INSTALLED_SESSION_PATHS checks
  • Hook PackageInstallerSession.generateInfoInternal to manually restore resolvedBaseCodePath when necessary
  • Update UI with new toggles and animations for session install and permission fix settings
  • Add logging for Intent extras to improve debugging
  • Update internationalization strings for new features

- Implement `intercept_session_install` to intercept `CONFIRM_INSTALL` requests
- Add "Fix Permissions" feature for Android 14+ to bypass `READ_INSTALLED_SESSION_PATHS` checks
- Hook `PackageInstallerSession.generateInfoInternal` to manually restore `resolvedBaseCodePath` when necessary
- Update UI with new toggles and animations for session install and permission fix settings
- Add logging for Intent extras to improve debugging
- Update internationalization strings for new features
…l is disabled

- Update `MainActivity.kt` to turn off and save `fixPermissionsEnabled` state if `interceptSessionInstallEnabled` is toggled off.
@Chimioo Chimioo merged commit 8a999b5 into Chimioo:main Jan 11, 2026
1 check passed
@Clawcore64
Copy link

Cool

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.

3 participants