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:
1 parent
5a2edd65f2
commit
43bf11d9c9
17 files changed
+450
-372
No files matched your search
@@ -59,7 +59,7 @@ public class ShortcutMenuAccessibilityDelegate extends LauncherAccessibilityDele
|
||||
Runnable onComplete = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
LauncherModel.addItemToDatabase(mLauncher, info,
|
||||
mLauncher.getModelWriter().addItemToDatabase(info,
|
||||
LauncherSettings.Favorites.CONTAINER_DESKTOP,
|
||||
screenId, coordinates[0], coordinates[1]);
|
||||
ArrayList<ItemInfo> itemList = new ArrayList<>();
|
||||
|
||||
Reference in new issue
Block a user