F-Droid basic debug doesn't update apps automatically on Xiaomi Mi phones

  • Device OS and version: Lineage OS 20 Android 13
  • Device model/manufacturer: Xiaomi
  • F-Droid version (in the About screen): F-Droid basic debug 1.17-alpha2-3
  • F-Droid privileged extension version (if installed):

What did you do? (clear steps if possible)

Install an app the update it.

What did you expect to see?

It's updated without the system dialog.

What did you see instead?

A system dialog.

07-18 16:25:12.378  2629  2629 D InstallManagerService: download completed of https://f-droid.org/repo/rkr.simplekeyboard.inputmethod_100.apk to file:///data/user/0/org.fdroid.basic.debug/cache/apks/f-droid.org--1/rkr.simplekeyboard.inputmethod_100.apk
07-18 16:25:12.378  2629  2629 D AppUpdateStatusManager: Update APK /rkr.simplekeyboard.inputmethod_100.apk state to ReadyToInstall
07-18 16:25:12.465  2629  2629 D AppUpdateStatusManager: Update APK /rkr.simplekeyboard.inputmethod_100.apk state to Installing
07-18 16:25:12.505  2629  2677 D ApkVerifier: localApkUri.getPath: /data/user/0/org.fdroid.basic.debug/cache/apks/f-droid.org--1/rkr.simplekeyboard.inputmethod_100.apk
07-18 16:25:12.509  2629  2677 D ApkVerifier: Checking permissions
07-18 16:25:12.509  2629  2677 D ApkVerifier: Expected:
07-18 16:25:12.509  2629  2677 D ApkVerifier:   android.permission.VIBRATE
07-18 16:25:12.509  2629  2677 D ApkVerifier: Actual:
07-18 16:25:12.509  2629  2677 D ApkVerifier:   android.permission.VIBRATE
07-18 16:25:12.509  2629  2677 D ApkVerifier: localTargetSdkVersion: 33
07-18 16:25:12.509  2629  2677 D ApkVerifier: expectedTargetSdkVersion: 33
07-18 16:25:12.511  2629  2629 D AppUpdateStatusManager: Update APK /rkr.simplekeyboard.inputmethod_100.apk state to ReadyToInstall
07-18 16:25:12.511  2629  2629 D AppDetailsActivity: Automatically showing package manager for rkr.simplekeyboard.inputmethod as it is being viewed by the user.
07-18 16:25:12.575  2629  2662 W Parcel  : Expecting binder but got null!
07-18 16:25:12.588  2629  2662 E OpenGLRenderer: Unable to match the desired swap behavior.
07-18 16:25:49.800  2629  2629 D CompatibilityChangeReporter: Compat change id reported: 78294732; UID 10182; state: ENABLED
07-18 16:25:49.820  2629  2629 D AppUpdateStatusManager: Remove APK /rkr.simplekeyboard.inputmethod_100.apk