| Index: chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java
|
| index c763c2356eaba44d9995c6f21df189241ab8abd6..c37d0e96519b8d34322e6349948479e7cf2e9029 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java
|
| @@ -14,9 +14,9 @@ import android.content.Intent;
|
| import android.content.SharedPreferences;
|
| import android.os.Binder;
|
| import android.os.IBinder;
|
| -import android.preference.PreferenceManager;
|
| import android.support.v4.app.NotificationCompat;
|
|
|
| +import org.chromium.base.ContextUtils;
|
| import org.chromium.base.Log;
|
| import org.chromium.base.VisibleForTesting;
|
| import org.chromium.base.library_loader.ProcessInitException;
|
| @@ -85,7 +85,7 @@ public class DownloadNotificationService extends Service {
|
| mContext = getApplicationContext();
|
| mNotificationManager = (NotificationManager) mContext.getSystemService(
|
| Context.NOTIFICATION_SERVICE);
|
| - mSharedPrefs = PreferenceManager.getDefaultSharedPreferences(mContext);
|
| + mSharedPrefs = ContextUtils.getAppSharedPreferences();
|
| parseDownloadSharedPrefs();
|
| // Because this service is a started service and returns START_STICKY in
|
| // onStartCommand(), it will be restarted as soon as resources are available
|
|
|