1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-18 13:21:02 +00:00

Log notify screen on

This commit is contained in:
M66B 2024-01-03 21:02:11 +01:00
parent dba174ba25
commit 79c949a3b5

View file

@ -619,7 +619,7 @@ class NotificationHelper {
} }
if (notify_screen_on && flash) { if (notify_screen_on && flash) {
Log.i("Notify screen on"); EntityLog.log(context, EntityLog.Type.Notification, "Notify screen on");
PowerManager pm = Helper.getSystemService(context, PowerManager.class); PowerManager pm = Helper.getSystemService(context, PowerManager.class);
PowerManager.WakeLock wakeLock = pm.newWakeLock( PowerManager.WakeLock wakeLock = pm.newWakeLock(
PowerManager.FULL_WAKE_LOCK | PowerManager.ACQUIRE_CAUSES_WAKEUP, PowerManager.FULL_WAKE_LOCK | PowerManager.ACQUIRE_CAUSES_WAKEUP,