Bug 1306140 - Pre: make HomeConfig VERSION package-private to allow access for testing r?sebastian draft
authorAndrzej Hunt <ahunt@mozilla.com>
Thu, 29 Sep 2016 11:33:48 -0700
changeset 419143 c34f748338c4c3f26bfc2373576046077f0ecbc0
parent 419142 eba831d12328df6af4560e14a6193eb4f550578b
child 419144 1a6a80e0070eba4e27d2ce0f790a393db1526f0c
push id30855
push userahunt@mozilla.com
push dateThu, 29 Sep 2016 18:37:33 +0000
reviewerssebastian
bugs1306140
milestone52.0a1
Bug 1306140 - Pre: make HomeConfig VERSION package-private to allow access for testing r?sebastian MozReview-Commit-ID: LT5E22L009Y
mobile/android/base/java/org/mozilla/gecko/home/HomeConfigPrefsBackend.java
--- a/mobile/android/base/java/org/mozilla/gecko/home/HomeConfigPrefsBackend.java
+++ b/mobile/android/base/java/org/mozilla/gecko/home/HomeConfigPrefsBackend.java
@@ -31,17 +31,17 @@ import android.support.annotation.CheckR
 import android.support.v4.content.LocalBroadcastManager;
 import android.text.TextUtils;
 import android.util.Log;
 
 public class HomeConfigPrefsBackend implements HomeConfigBackend {
     private static final String LOGTAG = "GeckoHomeConfigBackend";
 
     // Increment this to trigger a migration.
-    private static final int VERSION = 8;
+    /* package-private */ static final int VERSION = 8;
 
     // This key was originally used to store only an array of panel configs.
     public static final String PREFS_CONFIG_KEY_OLD = "home_panels";
 
     // This key is now used to store a version number with the array of panel configs.
     public static final String PREFS_CONFIG_KEY = "home_panels_with_version";
 
     // Keys used with JSON object stored in prefs.