forked from upstream-mirrors/quik
Release wake lock
This commit is contained in:
@@ -205,6 +205,7 @@ public class NotificationManager {
|
|||||||
PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE);
|
PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE);
|
||||||
PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FlashActivity");
|
PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FlashActivity");
|
||||||
wl.acquire();
|
wl.acquire();
|
||||||
|
wl.release();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (conversations.size() == 1 && lastConversation.size() == 1) {
|
if (conversations.size() == 1 && lastConversation.size() == 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user