Skip to content

Commit

Permalink
remove unnecessary brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
j4velin committed Nov 5, 2018
1 parent 57973f2 commit db0b2cf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/java/de/j4velin/pedometer/SensorListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,8 @@ private void showNotification() {
startForeground(NOTIFICATION_ID, getNotification(this));
} else if (getSharedPreferences("pedometer", Context.MODE_PRIVATE)
.getBoolean("notification", true)) {
{
((NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE))
.notify(NOTIFICATION_ID, getNotification(this));
}
((NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE))
.notify(NOTIFICATION_ID, getNotification(this));
}
}

Expand Down

0 comments on commit db0b2cf

Please sign in to comment.