Bug 755267 - Make sure history is set as migrated when done. r=mfinkle a=mfinkle
authorGian-Carlo Pascutto <gpascutto@mozilla.com>
Tue, 15 May 2012 17:30:32 +0200
changeset 94267 2919c14e90bd0a45478967dfad637863fe10b79d
parent 94266 0c1c0aa121af920f661d283318d45c98c7d1a924
child 94268 5ce30c9e6f27f7654d468d1a681570924375003d
push id1290
push usergpascutto@mozilla.com
push dateTue, 15 May 2012 15:31:52 +0000
treeherdermozilla-aurora@2919c14e90bd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle, mfinkle
bugs755267
milestone14.0a2
Bug 755267 - Make sure history is set as migrated when done. r=mfinkle a=mfinkle
mobile/android/base/ProfileMigrator.java
--- a/mobile/android/base/ProfileMigrator.java
+++ b/mobile/android/base/ProfileMigrator.java
@@ -370,17 +370,17 @@ public class ProfileMigrator {
 
     protected void setBooleanPrefTrue(String prefName) {
         SharedPreferences.Editor editor = getPreferences().edit();
         editor.putBoolean(prefName, true);
         editor.commit();
     }
 
     protected void setMigratedHistory() {
-        setBooleanPrefTrue(PREFS_MIGRATE_BOOKMARKS_DONE);
+        setBooleanPrefTrue(PREFS_MIGRATE_HISTORY_DONE);
     }
 
     protected void setMigratedBookmarks() {
         setBooleanPrefTrue(PREFS_MIGRATE_BOOKMARKS_DONE);
     }
 
     protected void setMigratedSync() {
         setBooleanPrefTrue(PREFS_MIGRATE_SYNC_DONE);