diff options
author | Joe Onorato <joeo@android.com> | 2009-11-05 15:41:27 -0500 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2009-11-05 16:03:12 -0500 |
commit | 0ace11a2b0da4629d5aefceb36e12c697725d7d1 (patch) | |
tree | b721bf1853d28c590a119e063c4392bf9594f6e1 | |
parent | 20df7c7d7212a5208b016861d652d6d15f6c760e (diff) | |
download | android_packages_apps_Trebuchet-0ace11a2b0da4629d5aefceb36e12c697725d7d1.tar.gz android_packages_apps_Trebuchet-0ace11a2b0da4629d5aefceb36e12c697725d7d1.tar.bz2 android_packages_apps_Trebuchet-0ace11a2b0da4629d5aefceb36e12c697725d7d1.zip |
Add logging to launcher2 to help diagnose 2239265 since QA keeps reassigning it to me without
providing more detailed steps to reproduce.
-rw-r--r-- | src/com/android/launcher2/AllAppsView.java | 1 | ||||
-rw-r--r-- | src/com/android/launcher2/LauncherModel.java | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher2/AllAppsView.java b/src/com/android/launcher2/AllAppsView.java index 7cba4bbee..5a315dd78 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 e10396123..de4f35b53 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; } |