mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Separating methods for updating the model to a sepatate class.
Removing static access to model update methods, to allow for better access control and testing Change-Id: I9afe004dbf1b2fe50df422fd28bceea9230a4704
This commit is contained in:
@@ -95,7 +95,7 @@ public class UserLockStateChangedTask extends ExtendedModelTask {
|
||||
}
|
||||
bindUpdatedShortcuts(updatedShortcutInfos, deletedShortcutInfos, mUser);
|
||||
if (!deletedShortcutInfos.isEmpty()) {
|
||||
LauncherModel.deleteItemsFromDatabase(context, deletedShortcutInfos);
|
||||
getModelWriter().deleteItemsFromDatabase(deletedShortcutInfos);
|
||||
}
|
||||
|
||||
// Remove shortcut id map for that user
|
||||
|
||||
Reference in New Issue
Block a user