Skip to content

Issue 24: Android keep screen on / show over lock screen setting#42

Open
MrSurly wants to merge 1 commit into
tmacinc:devfrom
MrSurly:issue-24-android-lock-foreground
Open

Issue 24: Android keep screen on / show over lock screen setting#42
MrSurly wants to merge 1 commit into
tmacinc:devfrom
MrSurly:issue-24-android-lock-foreground

Conversation

@MrSurly

@MrSurly MrSurly commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a toggle in Settings (Android only) to keep the screen on and show the app over the lock screen
  • Setting persists via SharedPreferences and is re-applied on cold start in MainActivity.onCreate without waiting for Dart
  • Skips WakelockPlus.disable() when the setting owns the wake lock, so connection-driven wake locks do not fight it

# Conflicts:
#	lib/screens/connection_screen.dart
@MrSurly MrSurly marked this pull request as ready for review June 24, 2026 02:57
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.

1 participant