Bug 957131 - Synced bookmarks appear in guest mode but not in default profile. r=rnewman
This commit is contained in:
@@ -26,6 +26,7 @@ public final class GeckoProfile {
|
||||
private static final String LOGTAG = "GeckoProfile";
|
||||
// Used to "lock" the guest profile, so that we'll always restart in it
|
||||
private static final String LOCK_FILE_NAME = ".active_lock";
|
||||
public static final String DEFAULT_PROFILE = "default";
|
||||
|
||||
private static HashMap<String, GeckoProfile> sProfileCache = new HashMap<String, GeckoProfile>();
|
||||
private static String sDefaultProfileName = null;
|
||||
@@ -113,7 +114,7 @@ public final class GeckoProfile {
|
||||
if (TextUtils.isEmpty(profileName) && profileDir == null) {
|
||||
profileName = GeckoProfile.findDefaultProfile(context);
|
||||
if (profileName == null)
|
||||
profileName = "default";
|
||||
profileName = DEFAULT_PROFILE;
|
||||
}
|
||||
|
||||
// actually try to look up the profile
|
||||
|
||||
Reference in New Issue
Block a user