feat: wakeup target detection (#731)

## Summary

* If going to sleep was from the Reader view, wake up to the same book.
Otherwise, wakeup to the Home view
This commit is contained in:
Arthur Tazhitdinov
2026-02-09 05:01:30 +11:00
committed by GitHub
parent 5b90b68e99
commit 1caad578fc
5 changed files with 17 additions and 4 deletions
+1
View File
@@ -23,4 +23,5 @@ class Activity {
virtual void loop() {}
virtual bool skipLoopDelay() { return false; }
virtual bool preventAutoSleep() { return false; }
virtual bool isReaderActivity() const { return false; }
};