profile comming from NS do not trigger EventNewBasalProfile
This commit is contained in:
parent
4f43feb12e
commit
e6a606296d
1 changed files with 0 additions and 3 deletions
|
@ -368,9 +368,6 @@ public class DataService extends IntentService {
|
|||
ProfileStore profileStore = new ProfileStore(new JSONObject(profile));
|
||||
NSProfilePlugin.getPlugin().storeNewProfile(profileStore);
|
||||
MainApp.bus().post(new EventNSProfileUpdateGUI());
|
||||
// if there are no profile switches this should lead to profile update
|
||||
if (MainApp.getConfigBuilder().getProfileSwitchesFromHistory().size() == 0)
|
||||
MainApp.bus().post(new EventNewBasalProfile());
|
||||
if (Config.logIncommingData)
|
||||
log.debug("Received profileStore: " + activeProfile + " " + profile);
|
||||
} catch (JSONException e) {
|
||||
|
|
Loading…
Reference in a new issue