Skip to content

Commit

Permalink
Try to fix notification not showing (ref syncthing#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutomic committed Oct 11, 2017
1 parent ee0e361 commit 8e75a88
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ public void onCreate() {
}
updateState();
mPreferences.registerOnSharedPreferenceChangeListener(this);
mNotificationHandler.updatePersistentNotification(this, mCurrentState);
}

/**
Expand All @@ -211,7 +212,7 @@ public void onCreate() {
private class StartupTask extends AsyncTask<Void, Void, Void> {

public StartupTask() {
mCurrentState = State.STARTING;
onApiChange(State.STARTING);
}

@Override
Expand Down

0 comments on commit 8e75a88

Please sign in to comment.