core: refresh Shizuku status before checking installation eligibility#434
Conversation
- Update `shouldUseShizuku` to call `shizukuServiceManager.refreshStatus()` before checking the current status value. - Ensures the installer does not rely on a stale binder status cache when routing installation attempts. - Maintains the requirement that both the user preference must be set to `InstallerType.SHIZUKU` and the service status must be `READY`.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughA modification to the Shizuku installer's status checking logic that adds a Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
shouldUseShizukuto callshizukuServiceManager.refreshStatus()before checking the current status value.InstallerType.SHIZUKUand the service status must beREADY.Summary by CodeRabbit