mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Cleaning up LauncherModel
- performing all DB operations immediately if called from worker thread (a previous change that did this in updateItemInDatabase fixed an outstanding bug) - centralizing logic to do database updates - removing old logging code Change-Id: Idc7bfef3921828ff7c5492b8e996c0a07e1ec508
This commit is contained in:
@@ -187,7 +187,7 @@ public class InstallWidgetReceiver {
|
||||
final AppWidgetProviderInfo widgetInfo = mActivities.get(which).widgetInfo;
|
||||
|
||||
final PendingAddWidgetInfo createInfo = new PendingAddWidgetInfo(widgetInfo, mMimeType,
|
||||
mClipData, "4");
|
||||
mClipData);
|
||||
mLauncher.addAppWidgetFromDrop(createInfo, LauncherSettings.Favorites.CONTAINER_DESKTOP,
|
||||
mTargetLayoutScreen, null, mTargetLayoutPos);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user