Skip to content

#1956 fix emergency kill timestamp source#2133

Merged
sds100 merged 2 commits intodevelopfrom
fix/1956-system-bridge-emergency-kill-timestamps
May 5, 2026
Merged

#1956 fix emergency kill timestamp source#2133
sds100 merged 2 commits intodevelopfrom
fix/1956-system-bridge-emergency-kill-timestamps

Conversation

@keymapper-ai
Copy link
Copy Markdown
Collaborator

Summary

  • switch system bridge emergency-kill hold detection to monotonic elapsed time in the evdev JNI observer
  • stop using evdev event timestamps to decide power-button hold duration, preventing false emergency kills from timestamp drift
  • add regression tests covering threshold behavior and timestamp-drift scenarios

Test plan

  • cargo check -p evdev_manager_jni (from foss/evdev/src/main/rust/evdev_manager)
  • run full Android/Gradle build in CI

Made with Cursor

@sds100 sds100 marked this pull request as ready for review May 5, 2026 12:24
@sds100 sds100 self-requested a review May 5, 2026 12:24
@sds100 sds100 merged commit 54adb8f into develop May 5, 2026
4 checks passed
@sds100 sds100 deleted the fix/1956-system-bridge-emergency-kill-timestamps branch May 5, 2026 12:25
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