M1-13: Quick Settings tile — start a recording without unlocking #13
Labels
No labels
area/agent
area/capture
area/editor
area/geo
area/security
area/sync
area/transcription
area/ui
area/vault
area/voice-memos
blocked
milestone/M1
milestone/M2
milestone/M3
milestone/M4
needs-decision
needs-hardware
p0
p1
p2
type/bug
type/enhancement
type/feature
type/idea
type/infrastructure
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Stash/stash-android#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A Quick Settings tile that starts a recording in one pull-and-tap.
Wes, on the iOS equivalent: "That way on my lock screen i can have a quick action that once tapped
immediately starts recording? (preferably while keeping the screen locked, but if that wont work i
understand)"
M1-07 puts a stop button on the lock screen. This is the other half: getting a recording
started without unlocking, finding the app and tapping into it. Roughly all of Wes's recordings
begin while walking, and the thought is usually already half gone by the time the app is open.
This is more likely to work than its iOS counterpart
The iOS issue carries a genuine unknown — whether iOS will start a microphone recording from a
locked device at all — and its acceptance criterion allows for the answer being no.
Android's
TileServiceis a better fit. Tiles are reachable from the lock screen, andisLocked/unlockAndRunlet the tile decide what to do rather than the system refusing silently.Whether a microphone capture may begin from a locked device is still worth confirming on the
Pixel rather than reasoning about — but the platform at least gives an honest answer.
Scope
TileServicethat starts a recording, sharing the same entry point the app's record button uses.while one is running should stop it or do nothing — decided at the checkpoint, not assumed.
that never began. A memo the user believes is being captured and is not is the worst outcome this
project has.
Also worth considering, cheaply
An app shortcut and a home screen widget hang off the same entry point for very little extra. Not
in scope unless they fall out for free — mentioned so the entry point is not built in a way that
forecloses them.
Depends on
M1-06 and M1-07 — the foreground service and its notification have to exist before anything can
start a recording from outside the app.
Done when
Wes pulls down Quick Settings on a locked Pixel, taps the tile, and a recording starts — or, if the
platform refuses without unlocking, the tile does the closest honest thing and the limitation is
documented.
Milestone 1 of Stash for Android, mirroring
stash-iosM1. M1 is a functioning app on the testdevice with no sync at all — record voice memos reliably and get them off the device by hand.
Sync arrives in M3.
Test device is a Pixel 6 (Tensor G1) borrowed from a friend, until something better turns up.
Stock Android, so no OEM battery-killer behaviour to fight — worth remembering that a phone from
another manufacturer may not be as forgiving about background work.
Translation of
Stash/stash-ios#19. Where the platform forces a different answer this issue says so; where itdoes not, the iOS issue is the fuller statement of intent and should be read alongside this one.
Working agreement for every issue in this repo: feature branch, tested before the PR opens
(on-device where the label says so), then Wes reviews the PR and we walk the code together. Docs
update in the same commit. A PR that takes more than 20 minutes to review is too big — say so and
split it.