mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Merge "Log widgets source." into sc-dev am: f9acf1d5d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14690879 Change-Id: I2fa39b66ca31549f7754657b7d3bde6bdf8a5f59
This commit is contained in:
@@ -381,6 +381,8 @@ public class LoaderTask implements Runnable {
|
||||
LauncherSettings.Favorites.RANK);
|
||||
final int optionsIndex = c.getColumnIndexOrThrow(
|
||||
LauncherSettings.Favorites.OPTIONS);
|
||||
final int sourceContainerIndex = c.getColumnIndexOrThrow(
|
||||
LauncherSettings.Favorites.APPWIDGET_SOURCE);
|
||||
|
||||
final LongSparseArray<Boolean> unlockedUsers = new LongSparseArray<>();
|
||||
|
||||
@@ -748,6 +750,7 @@ public class LoaderTask implements Runnable {
|
||||
appWidgetInfo.spanY = c.getInt(spanYIndex);
|
||||
appWidgetInfo.options = c.getInt(optionsIndex);
|
||||
appWidgetInfo.user = c.user;
|
||||
appWidgetInfo.sourceContainer = c.getInt(sourceContainerIndex);
|
||||
|
||||
if (appWidgetInfo.spanX <= 0 || appWidgetInfo.spanY <= 0) {
|
||||
c.markDeleted("Widget has invalid size: "
|
||||
|
||||
Reference in New Issue
Block a user