| Index: chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunStatus.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunStatus.java b/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunStatus.java
|
| index 969288c4ef5ea7c088f4a63b2badcde6d9539b58..08a772a7d826fdcc5bcc571ce49fe9d093c28143 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunStatus.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunStatus.java
|
| @@ -5,7 +5,8 @@
|
| package org.chromium.chrome.browser.firstrun;
|
|
|
| import android.content.Context;
|
| -import android.preference.PreferenceManager;
|
| +
|
| +import org.chromium.base.ContextUtils;
|
|
|
| /**
|
| * Gets and sets preferences related to the status of the first run experience.
|
| @@ -20,7 +21,7 @@ public class FirstRunStatus {
|
| * @param isComplete Whether the main First Run Experience flow is complete
|
| */
|
| public static void setFirstRunFlowComplete(Context context, boolean isComplete) {
|
| - PreferenceManager.getDefaultSharedPreferences(context)
|
| + ContextUtils.getAppSharedPreferences()
|
| .edit()
|
| .putBoolean(FIRST_RUN_FLOW_COMPLETE, isComplete)
|
| .apply();
|
| @@ -33,7 +34,7 @@ public class FirstRunStatus {
|
| * @param context Any context
|
| */
|
| public static boolean getFirstRunFlowComplete(Context context) {
|
| - return PreferenceManager.getDefaultSharedPreferences(context)
|
| + return ContextUtils.getAppSharedPreferences()
|
| .getBoolean(FIRST_RUN_FLOW_COMPLETE, false);
|
| }
|
|
|
|
|