mirror of
https://github.com/M66B/NetGuard.git
synced 2025-02-24 15:21:19 +00:00
parent
b0adcb5728
commit
a2c9d6ca09
2 changed files with 1 additions and 2 deletions
|
@ -46,8 +46,6 @@ public class Receiver extends BroadcastReceiver {
|
|||
|
||||
if (Intent.ACTION_PACKAGE_ADDED.equals(intent.getAction())) {
|
||||
// Application added
|
||||
Rule.clearCache(context);
|
||||
|
||||
if (!intent.getBooleanExtra(Intent.EXTRA_REPLACING, false)) {
|
||||
// Show notification
|
||||
if (IAB.isPurchased(ActivityPro.SKU_NOTIFY, context)) {
|
||||
|
|
|
@ -1598,6 +1598,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
|
|||
public void onReceive(Context context, Intent intent) {
|
||||
Log.i(TAG, "Received " + intent);
|
||||
Util.logExtras(intent);
|
||||
Rule.clearCache(ServiceSinkhole.this);
|
||||
reload("package added", ServiceSinkhole.this);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue