public void onReceive(Context context, Intent intent) {
Intent deviceTrackingIntent = new Intent();
deviceTrackingIntent
- .setAction("eu.alefzero.owncloud.location.LocationUpdateService");
+ .setAction("com.owncloud.android.location.LocationUpdateService");
SharedPreferences preferences = PreferenceManager
.getDefaultSharedPreferences(context);
boolean trackDevice = preferences.getBoolean("enable_devicetracking",
private void startOrStopDeviceTracking(Context context, boolean trackDevice) {
Intent deviceTrackingIntent = new Intent();
deviceTrackingIntent
- .setAction("eu.alefzero.owncloud.location.LocationUpdateService");
+ .setAction("com.owncloud.android.location.LocationUpdateService");
if (!isDeviceTrackingServiceRunning(context) && trackDevice) {
Log.d(TAG, "Starting device tracker service");
context.startService(deviceTrackingIntent);