Fixed initial state

This commit is contained in:
M66B 2017-08-09 15:02:29 +02:00
parent 906fb3ab13
commit 16888d4c19
1 changed files with 1 additions and 0 deletions

View File

@ -2140,6 +2140,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
@Override
public void onCreate() {
startForeground(NOTIFY_WAITING, getWaitingNotification());
state = State.waiting;
Log.i(TAG, "Create version=" + Util.getSelfVersionName(this) + "/" + Util.getSelfVersionCode(this));