Skip to content

Commit

Permalink
Release wake lock
Browse files Browse the repository at this point in the history
  • Loading branch information
moezbhatti committed Nov 2, 2015
1 parent 907488d commit 9c96c4c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ public void run() {
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) {
Expand Down

0 comments on commit 9c96c4c

Please sign in to comment.