github mazer666/PhairPlay v1.0.0-alpha.9
PhairPlay v1.0.0-alpha.9

pre-releaseone hour ago

What's changed (since v1.0.0-alpha.8)

  • chore(release): bump version to 1.0.0-alpha.9
  • docs: correct the measured numbers after the alpha.8 fixes
  • chore(release): prepare v1.0.0-alpha.9 for publication
  • refactor(ui): move the Back wiring out of the Activity
  • test(ui): cover the Back decision with a pure resolver
  • fix(ui): keep the receiver running when Back leaves the app

What this release is. The release that carries the fix of the Back button.
On a television, Back is the ordinary way out of an app — and pressing it
switched the whole receiver off: the activity was finished, the task was
removed, and onTaskRemoved then stopped every receiver, so the television
disappeared from every AirPlay and DLNA picker until someone opened the app
again (pull request #29,
reported on a Xiaomi TV Box S 2nd gen). Back now sends the app to the
background, as the Home button does, and the receiver keeps advertising. If a
session is on screen, Back still ends it, and the receiver advertises again.

The release also carries the requirement baseline v4.2 (FR-77) and the device
procedure DT-21, which proves the behaviour on a television. No device test
has been executed
— the release is an alpha, and the 21 device procedures are
still open.

Fixed

  • Pressing Back on the app's last screen switched the receiver off. Back
    finished the activity, which removed the task, and onTaskRemoved then stopped
    every receiver. The TV disappeared from AirPlay and DLNA pickers until the app
    was opened again. Back now sends the app to the background, as Home does, and
    the receiver keeps advertising. If a session is on screen, Back still ends it,
    then re-advertises. Swiping the app away from Recents still stops the service.

Added

  • The requirement baseline v4.2 — FR-77 states that the Back button of the
    app never stops the receiver, and DT-21 is the device procedure that proves it
    on a television. The decision behind the button moved out of the Activity into
    the pure function BackActionResolver, which the JVM suite checks with
    fourteen cases — among them one that fails if an action ever stops the
    receiver again.


Installation

Side-load the APK that matches your device (or upload the AAB to Google Play Console):

  • PhairPlay-1.0.0-alpha.9-GoogleTV.apk — Google TV / Android TV APK (Android 10+)
  • PhairPlay-1.0.0-alpha.9-FireTV.apk — Amazon Fire TV APK (Android 7.1+)
  • PhairPlay-1.0.0-alpha.9-GoogleTV.aab — Google Play Store Android App Bundle (Google TV)

Use adb or a sideloading app like Downloader to install.

What was not tested

This is a prerelease. No television has run this build: 0 of the 21 device
procedures
(the 16 cases of the device test plan plus DT-17 … DT-21)
have been executed. Report what you
find as an issue.

The build itself

  • The four checks of the quality gate and the JVM protocol suite were green on
    the tagged commit.
  • Both APKs are signed with the release key. An update over an installed version
    only works if the key is the same — otherwise uninstall the old version first.

Don't miss a new PhairPlay release

NewReleases is sending notifications on new releases.