From 10b9420a2f0254c9d69a2da447b40ae489b2a3ec Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Thu, 21 Jun 2012 10:04:36 -0400 Subject: [PATCH] Fixed incorrect service intents, and made centralized static convice methods for starting the location service closes #113 Signed-off-by: Ricky Barrette --- LocationRinger/AndroidManifest.xml | 4 +- .../receivers/GetLocationWidget.java | 5 +- .../receivers/SystemReceiver.java | 10 +-- .../services/LocationService.java | 74 ++++++++++++++----- .../services/RingerProcessingService.java | 26 ------- .../ui/CheckLocationShortcut.java | 5 +- .../LocationRinger/ui/ListActivity.java | 6 +- 7 files changed, 64 insertions(+), 66 deletions(-) diff --git a/LocationRinger/AndroidManifest.xml b/LocationRinger/AndroidManifest.xml index edd9d3f..f62e2f3 100644 --- a/LocationRinger/AndroidManifest.xml +++ b/LocationRinger/AndroidManifest.xml @@ -2,8 +2,8 @@ + android:versionCode="35" + android:versionName="73dbdc0" > diff --git a/LocationRinger/src/com/TwentyCodes/android/LocationRinger/receivers/GetLocationWidget.java b/LocationRinger/src/com/TwentyCodes/android/LocationRinger/receivers/GetLocationWidget.java index ca400d1..d777072 100644 --- a/LocationRinger/src/com/TwentyCodes/android/LocationRinger/receivers/GetLocationWidget.java +++ b/LocationRinger/src/com/TwentyCodes/android/LocationRinger/receivers/GetLocationWidget.java @@ -19,7 +19,6 @@ import com.TwentyCodes.android.LocationRinger.R; import com.TwentyCodes.android.LocationRinger.debug.Debug; import com.TwentyCodes.android.LocationRinger.services.LocationService; import com.TwentyCodes.android.LocationRinger.ui.SettingsActivity; -import com.TwentyCodes.android.debug.LocationLibraryConstants; /** * This widget will be used to force a Location update from the users home screen @@ -50,9 +49,7 @@ public class GetLocationWidget extends AppWidgetProvider { for (int i=0; i