Bug 1298727 - Bump FxA device registration version on Fennec. r?eoger draft
authorEdouard Oger <eoger@fastmail.com>
Sun, 28 Aug 2016 18:05:08 -0700
changeset 406565 ce4e478afa8ecdd09c47c011103b30d7ee8947ed
parent 406450 1a5b53a831e5a6c20de1b081c774feb3ff76756c
child 529689 10292bb0c11cefb96161caf50f5edba4bf7a244c
push id27762
push userbmo:eoger@fastmail.com
push dateMon, 29 Aug 2016 01:05:25 +0000
reviewerseoger
bugs1298727
milestone51.0a1
Bug 1298727 - Bump FxA device registration version on Fennec. r?eoger MozReview-Commit-ID: 8NzADM5P7Zc
mobile/android/services/src/main/java/org/mozilla/gecko/fxa/FxAccountDeviceRegistrator.java
--- a/mobile/android/services/src/main/java/org/mozilla/gecko/fxa/FxAccountDeviceRegistrator.java
+++ b/mobile/android/services/src/main/java/org/mozilla/gecko/fxa/FxAccountDeviceRegistrator.java
@@ -38,17 +38,17 @@ import java.util.concurrent.Executors;
  * and also stores the registration details in the Android FxAccount.
  * This should be used in a state where we possess a sessionToken, most likely the Married state.
  */
 public class FxAccountDeviceRegistrator implements BundleEventListener {
   private static final String LOG_TAG = "FxADeviceRegistrator";
 
   // The current version of the device registration, we use this to re-register
   // devices after we update what we send on device registration.
-  public static final Integer DEVICE_REGISTRATION_VERSION = 1;
+  public static final Integer DEVICE_REGISTRATION_VERSION = 2;
 
   private static FxAccountDeviceRegistrator instance;
   private final WeakReference<Context> context;
 
   private FxAccountDeviceRegistrator(Context appContext) {
     this.context = new WeakReference<Context>(appContext);
   }