Support SessionInstaller on GrapheneOS with custom sensor permission
GrapheneOS adds a custom OTHER_SENSORS
permission. From https://grapheneos.org/features#sensors-permission-toggle
[..] disallow access to all other sensors not covered by existing Android permissions [..]
To avoid breaking compatibility with Android apps, the added permission is enabled by default.
The permission check (https://gitlab.com/fdroid/fdroidclient/-/blob/master/app/src/main/java/org/fdroid/fdroid/installer/ApkVerifier.java#L86) that F-Droid performs results in a mismatch as the actual set of permissions always contains OTHER_SENSORS
as an additional permission (https://grapheneos.org/features#sensors-permission-toggle).
As a consequence, F-Droid falls back to the default installer (https://gitlab.com/fdroid/fdroidclient/-/blob/master/app/src/main/java/org/fdroid/fdroid/installer/Installer.java#L322), which means an install dialog is shown.