Skip to content

Commit

Permalink
Imports optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonjuni committed Nov 10, 2016
1 parent 1dc4e4b commit 591650e
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import android.content.pm.PackageManager;

import org.secuso.privacyfriendlyactivitytracker.services.AbstractStepDetectorService;
import org.secuso.privacyfriendlyactivitytracker.services.AccelerometerStepDetectorService;
import org.secuso.privacyfriendlyactivitytracker.services.HardwareStepDetectorService;
import org.secuso.privacyfriendlyactivitytracker.services.AbstractStepDetectorService;
import org.secuso.privacyfriendlyactivitytracker.utils.AndroidVersionHelper;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import android.widget.RelativeLayout;
import android.widget.Toast;

import org.secuso.privacyfriendlyactivitytracker.R;
import org.secuso.privacyfriendlyactivitytracker.adapters.MotivationAlertTextsAdapter;

import java.util.ArrayList;
Expand All @@ -24,8 +25,6 @@
import java.util.List;
import java.util.Set;

import org.secuso.privacyfriendlyactivitytracker.R;

/**
* This activity allows the user to manage the motivation texts.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@
import android.widget.RelativeLayout;
import android.widget.Toast;

import org.secuso.privacyfriendlyactivitytracker.R;
import org.secuso.privacyfriendlyactivitytracker.adapters.WalkingModesAdapter;
import org.secuso.privacyfriendlyactivitytracker.models.WalkingMode;
import org.secuso.privacyfriendlyactivitytracker.persistence.WalkingModePersistenceHelper;

import java.util.ArrayList;
import java.util.List;

import org.secuso.privacyfriendlyactivitytracker.R;

/**
* This activity allows the user to manage the walking modes.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
import android.widget.ImageButton;
import android.widget.TextView;

import java.util.List;

import org.secuso.privacyfriendlyactivitytracker.R;

import java.util.List;

/**
* This adapter is used for motivation-alert texts.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@
import android.widget.ImageButton;
import android.widget.TextView;

import org.secuso.privacyfriendlyactivitytracker.R;
import org.secuso.privacyfriendlyactivitytracker.models.WalkingMode;

import java.util.List;

import org.secuso.privacyfriendlyactivitytracker.R;

/**
* This adapter is used for walking modes.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import android.view.ViewGroup;
import android.widget.TextView;

import org.secuso.privacyfriendlyactivitytracker.BuildConfig;
import org.secuso.privacyfriendlyactivitytracker.R;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import android.view.View;
import android.view.ViewGroup;

import org.secuso.privacyfriendlyactivitytracker.R;
import org.secuso.privacyfriendlyactivitytracker.models.WalkingMode;
import org.secuso.privacyfriendlyactivitytracker.persistence.WalkingModePersistenceHelper;

Expand All @@ -22,8 +23,6 @@
import java.util.List;
import java.util.Map;

import org.secuso.privacyfriendlyactivitytracker.R;

/**
* Displays the main app view.
* In general it's an overview over the users daily, weekly and monthly reports.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
import android.view.View;
import android.widget.TimePicker;

import java.util.Calendar;

import org.secuso.privacyfriendlyactivitytracker.R;

import java.util.Calendar;

/**
* TimePreferences can be used as preference dialog to allow user to pick a time in hour:minute
* format. The value is stored as timestamp in milliseconds in preferences and can be easily converted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@
import android.util.Log;

import org.secuso.privacyfriendlyactivitytracker.Factory;
import org.secuso.privacyfriendlyactivitytracker.R;
import org.secuso.privacyfriendlyactivitytracker.persistence.TrainingPersistenceHelper;
import org.secuso.privacyfriendlyactivitytracker.receivers.MotivationAlertReceiver;
import org.secuso.privacyfriendlyactivitytracker.receivers.StepCountPersistenceReceiver;

import java.util.Calendar;
import java.util.Date;

import org.secuso.privacyfriendlyactivitytracker.R;

/**
* Helper class to start and stop the necessary services
*
Expand Down

0 comments on commit 591650e

Please sign in to comment.