Skip to content

Commit

Permalink
added a 10 seconds delay for foreground message
Browse files Browse the repository at this point in the history
  • Loading branch information
DevLuuk committed Dec 26, 2018
1 parent da5eeec commit 001d3fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void onCreate() {
filter.addAction(Intent.ACTION_SCREEN_ON);
registerReceiver(this.screenReciever, filter);
try {
TimeUnit.SECONDS.sleep(5);
TimeUnit.SECONDS.sleep(10);
stopForeground(true);
} catch (InterruptedException e) {
e.printStackTrace();
Expand Down

0 comments on commit 001d3fc

Please sign in to comment.