Release wake lock

This commit is contained in:
Moez Bhatti
2015-11-01 22:05:33 -05:00
parent 907488d2bd
commit 9c96c4c515
@@ -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) {