summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Notifications.cpp
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-04-12 03:11:16 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-04-12 03:11:16 (GMT)
commit502dfad3d3dd062b37722ea65ec42908139b2e17 (patch)
tree334dbd66e0e074a5d8f47423702d3e0cd2fa1731 /src/displayapp/screens/Notifications.cpp
parentadc82f138237b17797f695aa6e272188ccb3fb15 (diff)
Fixed screen brightness, no sleep or wake up
Diffstat (limited to 'src/displayapp/screens/Notifications.cpp')
-rw-r--r--src/displayapp/screens/Notifications.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/displayapp/screens/Notifications.cpp b/src/displayapp/screens/Notifications.cpp
index 7cbfec8..81ee234 100644
--- a/src/displayapp/screens/Notifications.cpp
+++ b/src/displayapp/screens/Notifications.cpp
@@ -42,7 +42,6 @@ Notifications::Notifications(DisplayApp* app,
}
if (mode == Modes::Preview) {
- systemTask.PushMessage(System::Messages::DisableSleeping);
if (notification.category == Controllers::NotificationManager::Categories::IncomingCall) {
motorController.StartRinging();
} else {
@@ -67,7 +66,6 @@ Notifications::~Notifications() {
lv_task_del(taskRefresh);
// make sure we stop any vibrations before exiting
motorController.StopRinging();
- systemTask.PushMessage(System::Messages::EnableSleeping);
lv_obj_clean(lv_scr_act());
}
@@ -86,7 +84,6 @@ void Notifications::Refresh() {
}
void Notifications::OnPreviewInteraction() {
- systemTask.PushMessage(System::Messages::EnableSleeping);
motorController.StopRinging();
if (timeoutLine != nullptr) {
lv_obj_del(timeoutLine);