From 45fa06ed1e1098eb40ce811e75fa556a82c0245d Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Mon, 12 Aug 2013 18:36:01 -0700 Subject: [PATCH] Adding additional logging. Change-Id: Ic4db1a3abe8b735f07e51a2d35ca92273b5f76c8 --- src/com/android/launcher3/LauncherModel.java | 2 ++ src/com/android/launcher3/Workspace.java | 1 + 2 files changed, 3 insertions(+) diff --git a/src/com/android/launcher3/LauncherModel.java b/src/com/android/launcher3/LauncherModel.java index b085441334..e6f22d1349 100644 --- a/src/com/android/launcher3/LauncherModel.java +++ b/src/com/android/launcher3/LauncherModel.java @@ -1434,6 +1434,7 @@ public class LauncherModel extends BroadcastReceiver { // Ensure that all the applications that are in the system are represented on the home // screen. + Log.d(TAG, "10249126 - verifyApplications(" + isUpgrade + ")"); if (!isUpgrade) { verifyApplications(); } @@ -1497,6 +1498,7 @@ public class LauncherModel extends BroadcastReceiver { synchronized (sBgLock) { for (ApplicationInfo app : mBgAllAppsList.data) { tmpInfos = getItemInfoForComponentName(app.componentName); + Log.d(TAG, "10249126 - \t" + app.componentName.getPackageName() + ", " + tmpInfos.isEmpty()); if (tmpInfos.isEmpty()) { // We are missing an application icon, so add this to the workspace added.add(app); diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index 1d20277035..b39628acd8 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -636,6 +636,7 @@ public class Workspace extends SmoothPagedView int pageShift = 0; for (Long id: removeScreens) { + Log.d(TAG, "10249126 - \tremove(" + id + ")"); CellLayout cl = mWorkspaceScreens.get(id); mWorkspaceScreens.remove(id); mScreenOrder.remove(id);