Remove wanted id instead of hard-coded 1...
This commit is contained in:
parent
a0a2fe4cf0
commit
2ee5226d62
@ -375,7 +375,7 @@ public class FDroid extends FragmentActivity {
|
|||||||
public void removeNotification(int id) {
|
public void removeNotification(int id) {
|
||||||
NotificationManager nMgr = (NotificationManager) getBaseContext()
|
NotificationManager nMgr = (NotificationManager) getBaseContext()
|
||||||
.getSystemService(Context.NOTIFICATION_SERVICE);
|
.getSystemService(Context.NOTIFICATION_SERVICE);
|
||||||
nMgr.cancel(1);
|
nMgr.cancel(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user