Skip to content

v0.23.2

Choose a tag to compare

@github-actions github-actions released this 29 Nov 22:04
bb8df21

Share the log as a file

On the van, Share offered Waze, Chrome, Bluetooth, Quick Share, Google Save and Termux, with only the first line of the log as a preview. A head unit has no mail or chat app to take text, and Bluetooth and Quick Share only send files. So the share was useless.

Change

  • Share writes the whole log into one nostartstop-<yyyyMMdd-HHmm>.txt, the rotated .log.1 first, as Save to Download does. It sends that file with EXTRA_STREAM.
  • The new LogShareProvider serves it:
    • it is not exported;
    • it serves only cache/share/nostartstop-<date>-<time>.txt, read-only;
    • it answers the name and size that Bluetooth and Quick Share ask for;
    • the read grant goes with the ClipData to the app the user picks only;
    • the previous copy is deleted at the next share.
  • The car-data warning before sharing is unchanged.
  • Help (all 7 languages) and the README now say to use Bluetooth or Quick Share to get the file to a phone. The new error text "Could not share the log" is translated.

Log screen in split screen

  • Below 900 dp the buttons get their own row under the title, sharing the width equally. The screen rebuilds when the window crosses that width, and reads the log again. Before, it kept the wide labels after a live resize.
  • docs/diagnostics.png and docs/waiting.png are retaken.

Checked on the emulator

  • The share sheet says "Sharing 1 file: nostartstop-20261129-2243.txt".
  • Messages attached it (3.11 KB).
  • adb shell content query on the uri is refused: Permission Denial … not exported.
  • sh test.sh passes (28 suites) and build.sh passes.

Merging releases a patch (fix/). It is independent of #69.

🤖 Generated with Claude Code