Skip to content

Commit

Permalink
Revert "Commands (#267)" (#268)
Browse files Browse the repository at this point in the history
This reverts commit 448dc4e.
  • Loading branch information
emarsman authored and Alok committed Aug 29, 2017
1 parent 448dc4e commit ddd004e
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 778 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
import android.view.MenuItem;

import com.bugsnag.android.Bugsnag;
import com.openxcplatform.enabler.BuildConfig;
import com.openxc.VehicleManager;
import com.openxc.enabler.preferences.PreferenceManagerService;
import com.openxcplatform.enabler.BuildConfig;
import com.openxcplatform.enabler.R;

/** The OpenXC Enabler app is primarily for convenience, but it also increases
Expand Down Expand Up @@ -102,7 +102,7 @@ public boolean onCreateOptionsMenu(Menu menu) {

public static class EnablerFragmentAdapter extends FragmentPagerAdapter {
private static final String[] mTitles = { "Status", "Dashboard",
"CAN", "Diagnostic", "Send CAN", "Send Command"};
"CAN", "Diagnostic", "Send CAN" };

public EnablerFragmentAdapter(FragmentManager fm) {
super(fm);
Expand All @@ -128,8 +128,6 @@ public Fragment getItem(int position) {
return new DiagnosticRequestFragment();
} else if(position == 4) {
return new SendCanMessageFragment();
} else if (position == 5) {
return new SendCommandMessageFragment();
}

// For position 0 or anything unrecognized, go to Status
Expand Down
Loading

0 comments on commit ddd004e

Please sign in to comment.