mirror of
https://github.com/ImranR98/Obtainium.git
synced 2026-08-02 18:36:55 -04:00
canInstallSilently conflated two concepts: whether an app can be installed without a prompt (device/app capability) and whether background updates are enabled/allowed. This gated foreground silent installs on the background-update toggle. Split into: - canInstallSilently: pure capability (single APK + active installer's rules) - canInstallSilentlyInBackground: layers the global toggle and per-app exemption on top, used only by the background flow Also move the target-SDK requirement into StockInstaller, since it is specific to the session installer and does not apply to Shizuku/external installers.