Skip to content

fix: lock screen by default if lockscreen enabled - #1400

Merged
gerhardol merged 1 commit into
jonasoreland:masterfrom
gerhardol:feature/lockbuttons-tapping
Oct 18, 2026
Merged

gerhardol merged 1 commit into
jonasoreland:masterfrom
gerhardol:feature/lockbuttons-tapping

Conversation

@gerhardol

Copy link
Copy Markdown
Collaborator

Give feedback also tapping on pause/stop.
Tap anywhere on screen to toggle state, not just header. Check 3 taps in one sec, not 5.
Enable tapguard by default if RU is showing on lockscreen.

--
When showing on lockscreen, I have several times accidentally failed to record as recording stopped when putting the phone in the pocket

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unlocking can interrupt recording, default settings remain unprotected, and some screen regions bypass gesture detection.

3 open issues
What changed in this PR

This PR aims to prevent accidental recording interruptions by improving the recording screen’s button guard.

Changes:

  • Initializes locking from preferences and adds Stop/Pause feedback.
  • Changes toggling to three rapid taps and expands touch handling.
  • Adds a gray Stop-button background and updates instructions.
File Description
common/​src/​main/​res/​values/​strings.xml Updates lock-toggle instructions.
app/​src/​main/​org/​runnerup/​view/​RunActivity.java Changes guard initialization, gestures, and button handling.
app/​res/​drawable/​btn_gray.xml Adds the locked Stop-button background.

Review effort: Balanced

Give feedback also tapping on pause/stop.
Tap anywhere on screen to toggle state, not just header.
Check 3 taps in one sec, not 5.
Enable tapguard by default if RU is showing on lockscreen.
@gerhardol
gerhardol force-pushed the feature/lockbuttons-tapping branch from c88fc69 to 6c4b2f8 Compare October 18, 2026 18:38
@gerhardol
gerhardol merged commit d30f5d6 into jonasoreland:master Oct 18, 2026
1 check passed
@gerhardol
gerhardol deleted the feature/lockbuttons-tapping branch October 18, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants