Apply rules set by notification action

Fixes #233
This commit is contained in:
M66B 2016-01-18 17:55:51 +01:00
parent 6c167ebeeb
commit 10634c0c05
1 changed files with 3 additions and 0 deletions

View File

@ -573,6 +573,9 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS
else
prefs.edit().putBoolean(pkg, blocked).apply();
// Apply rules
reload(null, "notification", SinkholeService.this);
// Update notification
Receiver.notifyNewApplication(uid, SinkholeService.this);