diff --git a/src/com/android/launcher2/AllAppsView.java b/src/com/android/launcher2/AllAppsView.java index 7cba4bbee4..5a315dd787 100644 --- a/src/com/android/launcher2/AllAppsView.java +++ b/src/com/android/launcher2/AllAppsView.java @@ -564,6 +564,7 @@ public class AllAppsView extends RSSurfaceView if (index < 0) { index = -(index+1); } + Log.d(TAG, "Adding app '" + item + "' at index " + index + " mRollo=" + mRollo); mAllAppsList.add(index, item); if (mRollo != null) { mRollo.addApp(index, item); diff --git a/src/com/android/launcher2/LauncherModel.java b/src/com/android/launcher2/LauncherModel.java index e10396123a..de4f35b53e 100644 --- a/src/com/android/launcher2/LauncherModel.java +++ b/src/com/android/launcher2/LauncherModel.java @@ -269,6 +269,8 @@ public class LauncherModel extends BroadcastReceiver { * ACTION_PACKAGE_CHANGED. */ public void onReceive(Context context, Intent intent) { + Log.d(TAG, "onReceive intent=" + intent); + // Use the app as the context. context = mApp; @@ -332,6 +334,7 @@ public class LauncherModel extends BroadcastReceiver { final Callbacks callbacks = mCallbacks != null ? mCallbacks.get() : null; if (callbacks == null) { + Log.d(TAG, "nobody to tell about the new app"); return; }