Commit 302b129e authored by Geoffrey Métais's avatar Geoffrey Métais

Dead local store

CID #1270889, #1270891
parent 908337ac
...@@ -72,7 +72,6 @@ public class RecommendationsService extends IntentService { ...@@ -72,7 +72,6 @@ public class RecommendationsService extends IntentService {
@Override @Override
protected void onHandleIntent(Intent intent) { protected void onHandleIntent(Intent intent) {
if (intent != null) { if (intent != null) {
final String action = intent.getAction();
MediaLibrary.getInstance().addUpdateHandler(mHandler); MediaLibrary.getInstance().addUpdateHandler(mHandler);
} }
} }
...@@ -84,7 +83,6 @@ public class RecommendationsService extends IntentService { ...@@ -84,7 +83,6 @@ public class RecommendationsService extends IntentService {
sContext.getSystemService(Context.NOTIFICATION_SERVICE); sContext.getSystemService(Context.NOTIFICATION_SERVICE);
} }
Bundle extras = new Bundle();
// if (mBackgroundUri != movie.getBackgroundUri()) { // if (mBackgroundUri != movie.getBackgroundUri()) {
// extras.putString(EXTRA_BACKGROUND_IMAGE_URL, movie.getBackgroundUri()); // extras.putString(EXTRA_BACKGROUND_IMAGE_URL, movie.getBackgroundUri());
// } // }
...@@ -102,7 +100,6 @@ public class RecommendationsService extends IntentService { ...@@ -102,7 +100,6 @@ public class RecommendationsService extends IntentService {
.setLargeIcon(sMediaDatabase.getPicture(sContext, movie.getLocation())) .setLargeIcon(sMediaDatabase.getPicture(sContext, movie.getLocation()))
.setSmallIcon(R.drawable.icon) .setSmallIcon(R.drawable.icon)
.setContentIntent(buildPendingIntent(movie)) .setContentIntent(buildPendingIntent(movie))
// .setExtras(extras))
).build(); ).build();
// post the recommendation to the NotificationManager // post the recommendation to the NotificationManager
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment