Skip to content

v0.10.2 — diagnose: raw app-op modes

Choose a tag to compare

@github-actions github-actions released this 23 Aug 05:57
· 9 commits to master since this release
d3820de

English

Diagnostics-only release, prompted by a field report with screenshots of a genuine contradiction: the Install unknown apps settings screen shows Allowed, while the app's status screen reports Self-update permission: MISSING.

Those two really can disagree. Measured on Android 14: with the app-op in mode default — the state every reinstall resets it to — canRequestPackageInstalls() answers false, whatever a toggle shows. The old boolean collapsed default, ignored and "the check itself threw" into the same false.

GET /permissions/diagnose now also reports:

  • opModes — the raw app-op mode (allowed/ignored/errored/default) for the install and overlay grants;
  • installCheckError — an exception inside the check is no longer indistinguishable from a revoked permission;
  • user — app-ops are per profile: a Settings screen viewed under another profile (e.g. a Google TV kids profile) shows that profile's state, not the app's;
  • targetSdk.

If your TV shows this contradiction: paste the output of curl http://<tv-ip>:7979/permissions/diagnose in an issue — opModes.installPackages now names the actual state. The quick fix remains one command (or re-toggling the switch off and on in Settings):

adb shell appops set nl.rogro82.pipup REQUEST_INSTALL_PACKAGES allow

Nederlands

Release met alleen diagnostiek, naar aanleiding van een praktijkmelding met screenshots van een echte tegenstrijdigheid: het instellingenscherm Onbekende apps installeren toont Toegestaan, terwijl het statusscherm van de app Zelf-updaten: ONTBREEKT meldt.

Die twee kúnnen echt uiteenlopen. Gemeten op Android 14: met de app-op in stand default — waar elke herinstallatie hem op terugzet — antwoordt canRequestPackageInstalls() false, wat een schakelaar ook toont. De oude boolean gooide default, ignored en "de check zelf gooide een fout" op één hoop.

GET /permissions/diagnose meldt nu ook:

  • opModes — de rauwe app-op-stand (allowed/ignored/errored/default) voor de install- en overlay-rechten;
  • installCheckError — een exception ín de check is niet langer onzichtbaar;
  • user — app-ops zijn per profiel: een instellingenscherm bekeken onder een ander profiel (bv. een Google TV-kinderprofiel) toont de stand van dat profiel;
  • targetSdk.

Zie je deze tegenstrijdigheid op je tv: plak de uitvoer van curl http://<tv-ip>:7979/permissions/diagnose in een issue — opModes.installPackages benoemt nu de werkelijke stand. De snelle fix blijft één commando (of de schakelaar in Instellingen uit- en weer aanzetten):

adb shell appops set nl.rogro82.pipup REQUEST_INSTALL_PACKAGES allow