Skip to content
Snippets Groups Projects
Commit 0d8e5dce authored by Nick's avatar Nick :v: Committed by Dhina17
Browse files

Add settings upgrade mechanism for LMO

Change-Id: If7c76277ea9229d6b91f3052cb387ae7f516ab21
parent 388e325f
No related branches found
No related tags found
No related merge requests found
......@@ -3878,6 +3878,9 @@ public class SettingsProvider extends ContentProvider {
final int oldVersion = secureSettings.getVersionLocked();
final int newVersion = SETTINGS_VERSION;
LMOSettingsProvider.onPreUpgradeLocked(mUserId, getContext(), getSystemSettingsLocked(mUserId),
getSecureSettingsLocked(mUserId), getGlobalSettingsLocked());
// If up do date - done.
if (oldVersion == newVersion) {
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment