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:
committed by
GitHub
parent
5b90b68e99
commit
1caad578fc
@@ -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; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user