Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus3d3 committed Jul 24, 2018
1 parent 96924ef commit f383a27
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.eveningoutpost.dexdrip.wearintegration;


import com.eveningoutpost.dexdrip.Models.AlertType;

import com.eveningoutpost.dexdrip.Models.BgReading;
import com.eveningoutpost.dexdrip.Models.JoH;
import com.eveningoutpost.dexdrip.R;
Expand Down Expand Up @@ -52,9 +52,8 @@
*/

public class Amazfitservice extends Service {
BestGlucose.DisplayGlucose dg;


BestGlucose.DisplayGlucose dg;
private static String action;
private static String alert_to_send;
private static int default_snooze;
Expand Down Expand Up @@ -85,7 +84,8 @@ public void onCreate() {
public void onChannelChanged(boolean ready) {
//Transporter is ready if ready is true, send an action now. This will **NOT** work before the transporter is ready!
//You can change the action to whatever you want, there's also an option for a data bundle to be added (see below)
if (ready) UserError.Log.e("Amazfitservice", "channel changed ");
if (ready) UserError.Log.e("Amazfitservice", "channel changed - trying automatic resend ");
Amazfitservice.start("xDrip_synced_SGV_data");
}

});
Expand Down Expand Up @@ -193,9 +193,7 @@ public int onStartCommand(Intent intent, int flags, int startId) {

}

private void Amazfit_send_data() {

}

public static String getAction() { return action;}
public static void setAction(String actionremote) {
Expand Down

0 comments on commit f383a27

Please sign in to comment.