[apps] Stop backlight dimming when waking up (2)

Change-Id: I28ec565072791d6bfa5e73a003fb2a6a9e684de7
This commit is contained in:
Émilie Feral
2017-04-25 14:39:53 +02:00
parent 1f312d8d54
commit 5946bb6e48

View File

@@ -83,6 +83,7 @@ void AppsContainer::suspend() {
* the frame memory is lost. That's why we need to force a window redraw
* upon wakeup, otherwise the screen is filled with noise. */
Ion::Backlight::setBrightness(Ion::Backlight::MaxBrightness);
m_backlightDimmingTimer.reset();
window()->redraw(true);
}