Re-initialize max ids after changing grid size
This commit is contained in:
1 parent
7d76328367
commit
acad5e51e4
3 files changed
+16
No files matched your search
@@ -205,6 +205,11 @@ public class GridSizeMigrationTaskV2 {
|
||||
}
|
||||
|
||||
t.commit();
|
||||
|
||||
// reinitialize max ids
|
||||
LauncherSettings.Settings.call(context.getContentResolver(),
|
||||
LauncherSettings.Settings.METHOD_RE_INITIALIZE_IDS);
|
||||
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
Log.e(TAG, "Error during grid migration", e);
|
||||
|
||||
Reference in new issue
Block a user