1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-02-26 16:13:01 +00:00

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

View file

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