diff --git a/app/src/main/java/com/mqbcoding/stats/DashboardFragment.java b/app/src/main/java/com/mqbcoding/stats/DashboardFragment.java index 6afefe83..eb8caeed 100644 --- a/app/src/main/java/com/mqbcoding/stats/DashboardFragment.java +++ b/app/src/main/java/com/mqbcoding/stats/DashboardFragment.java @@ -1,10 +1,8 @@ package com.mqbcoding.stats; -import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; -import android.content.IntentFilter; import android.content.ServiceConnection; import android.content.SharedPreferences; import android.content.res.TypedArray; @@ -15,9 +13,6 @@ import android.os.Bundle; import android.os.Handler; import android.os.IBinder; -import android.app.Activity; -import android.app.AlertDialog; -import android.os.RemoteException; import android.preference.PreferenceManager; import android.support.annotation.Nullable; import android.util.Log; @@ -28,8 +23,6 @@ import android.widget.ImageView; import android.widget.TextView; -import org.prowl.torque.remote.ITorqueService; - import com.github.anastr.speedviewlib.Gauge; import com.github.anastr.speedviewlib.RaySpeedometer; import com.github.anastr.speedviewlib.Speedometer; @@ -37,7 +30,8 @@ import com.github.anastr.speedviewlib.components.Indicators.Indicator; import com.github.martoreto.aauto.vex.CarStatsClient; -import java.lang.reflect.Field; +import org.prowl.torque.remote.ITorqueService; + import java.math.BigInteger; import java.util.Date; import java.util.HashMap; @@ -83,7 +77,6 @@ public class DashboardFragment extends CarFragment { private boolean torqueBind = false; - private View.OnClickListener forceUpdate = new View.OnClickListener() { @Override public void onClick(View v) { @@ -124,6 +117,7 @@ public void onNewMeasurements(String provider, Date timestamp, MapMAF Throttle AFR - FTST1 - FTST2 - FTLT2 - FTLT1 + FTst1 + FTst2 + FTlt2 + FTlt1 Torque - Phone battery level Torque - Phone barometer Torque - OBD voltage