mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Bug 1497977 p4 - Trigger an upload of our own client record after FxA device registration. r=nalexander
Depends on D8609 Differential Revision: https://phabricator.services.mozilla.com/D8610 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
d2b74ef433
commit
f21637ae6a
@ -242,6 +242,8 @@ public class FxAccountDeviceRegistrator implements BundleEventListener {
|
||||
Logger.pii(LOG_TAG, "Registered device ID: " + result.id);
|
||||
Log.i(LOG_TAG, "Setting DEVICE_REGISTRATION_VERSION to " + DEVICE_REGISTRATION_VERSION);
|
||||
fxAccount.setFxAUserData(result.id, DEVICE_REGISTRATION_VERSION, System.currentTimeMillis());
|
||||
// Ask for a re-upload of the local client record to account for the FxA device ID change.
|
||||
fxAccount.requestImmediateSync(new String[] { "clients" }, null, true);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user