mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 17:03:05 +02:00
- ADB check runs in background thread (ThreadPoolExecutor) so the UI remains responsive while checking StrongLifts on the phone - Poll result every 500ms via root.after instead of blocking main thread - Show success screen for 1.5s before auto-unlocking when verified - Target specific ADB device via -s flag using saved phone_config.txt to avoid errors when multiple devices (USB + wireless) are connected - Demo mode uses local grab_set() instead of grab_set_global() so it works alongside other fullscreen apps - Stub _start_phone_check in create_locker to prevent background threads leaking into unrelated tests (fixes flaky test_run_adb_success) - 112 tests passing, 100% branch coverage |
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| adjust_shutdown_schedule.sh | ||
| install_autostart.sh | ||
| install_systemd.sh | ||
| remove_autostart.sh | ||
| remove_systemd.sh | ||
| run.sh | ||
| screen_lock.py | ||
| workout-locker.service | ||