mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
Release wake lock
This commit is contained in:
@@ -205,6 +205,7 @@ public class NotificationManager {
|
||||
PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE);
|
||||
PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FlashActivity");
|
||||
wl.acquire();
|
||||
wl.release();
|
||||
}
|
||||
|
||||
if (conversations.size() == 1 && lastConversation.size() == 1) {
|
||||
|
||||
Reference in New Issue
Block a user