We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57973f2 commit db0b2cfCopy full SHA for db0b2cf
src/main/java/de/j4velin/pedometer/SensorListener.java
@@ -120,10 +120,8 @@ private void showNotification() {
120
startForeground(NOTIFICATION_ID, getNotification(this));
121
} else if (getSharedPreferences("pedometer", Context.MODE_PRIVATE)
122
.getBoolean("notification", true)) {
123
- {
124
- ((NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE))
125
- .notify(NOTIFICATION_ID, getNotification(this));
126
- }
+ ((NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE))
+ .notify(NOTIFICATION_ID, getNotification(this));
127
}
128
129
0 commit comments