added a temp widget icon
This commit is contained in:
@@ -43,6 +43,8 @@ public class LocationService extends Service implements LocationListener {
|
||||
private WakeLock mWakeLock;
|
||||
private Location mLocation;
|
||||
private int mStartId;
|
||||
private Notification mNotification;
|
||||
private NotificationManager mNotificationManager;
|
||||
|
||||
/**
|
||||
* this runnable will be qued when the service is created. this will be used as a fail safe
|
||||
@@ -55,10 +57,6 @@ public class LocationService extends Service implements LocationListener {
|
||||
}
|
||||
};
|
||||
|
||||
private Notification mNotification;
|
||||
|
||||
private NotificationManager mNotificationManager;
|
||||
|
||||
/**
|
||||
* a convince method for starting the service
|
||||
* @param context
|
||||
@@ -237,4 +235,4 @@ public class LocationService extends Service implements LocationListener {
|
||||
mLocationManager.requestLocationUpdates(LocationManager.PASSIVE_PROVIDER, 0, 0, this);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user