mirror of https://github.com/M66B/NetGuard.git
Cleanup
This commit is contained in:
parent
6c51a0be3c
commit
b08a1c3980
|
@ -101,8 +101,6 @@ public class SinkholeService extends VpnService {
|
||||||
|
|
||||||
private void handleIntent(Intent intent) {
|
private void handleIntent(Intent intent) {
|
||||||
Command cmd = (intent == null ? Command.start : (Command) intent.getSerializableExtra(EXTRA_COMMAND));
|
Command cmd = (intent == null ? Command.start : (Command) intent.getSerializableExtra(EXTRA_COMMAND));
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(SinkholeService.this);
|
|
||||||
|
|
||||||
Log.i(TAG, "Executing intent=" + intent + " command=" + cmd + " vpn=" + (vpn != null));
|
Log.i(TAG, "Executing intent=" + intent + " command=" + cmd + " vpn=" + (vpn != null));
|
||||||
switch (cmd) {
|
switch (cmd) {
|
||||||
case start:
|
case start:
|
||||||
|
|
Loading…
Reference in New Issue