mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[ion] Power: fix names; Power key actually refers to OnOff key (to avoid
confusing with exponentiation key)
This commit is contained in:
@@ -128,7 +128,7 @@ VariableBoxController * AppsContainer::variableBoxController() {
|
||||
return &m_variableBoxController;
|
||||
}
|
||||
|
||||
void AppsContainer::suspend(bool checkIfPowerKeyReleased) {
|
||||
void AppsContainer::suspend(bool checkIfOnOffKeyReleased) {
|
||||
resetShiftAlphaStatus();
|
||||
GlobalPreferences * globalPreferences = GlobalPreferences::sharedGlobalPreferences();
|
||||
#ifdef EPSILON_BOOT_PROMPT
|
||||
@@ -136,7 +136,7 @@ void AppsContainer::suspend(bool checkIfPowerKeyReleased) {
|
||||
activeApp()->displayModalViewController(&m_promptController, 0.f, 0.f);
|
||||
}
|
||||
#endif
|
||||
Ion::Power::suspend(checkIfPowerKeyReleased);
|
||||
Ion::Power::suspend(checkIfOnOffKeyReleased);
|
||||
/* Ion::Power::suspend() completely shuts down the LCD controller. Therefore
|
||||
* the frame memory is lost. That's why we need to force a window redraw
|
||||
* upon wakeup, otherwise the screen is filled with noise. */
|
||||
|
||||
Reference in New Issue
Block a user