Stop self

This commit is contained in:
M66B 2017-08-09 13:11:42 +02:00
parent 2e7071fe3a
commit d4ccc3d5eb
1 changed files with 3 additions and 1 deletions

View File

@ -597,8 +597,10 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
startForeground(NOTIFY_WAITING, getWaitingNotification());
state = State.waiting;
Log.d(TAG, "Start foreground state=" + state.toString());
} else
} else {
state = State.none;
stopSelf();
}
}
}