Add logging to launcher2 to help diagnose 2239265 since QA keeps reassigning it to me without
providing more detailed steps to reproduce.
diff --git a/src/com/android/launcher2/LauncherModel.java b/src/com/android/launcher2/LauncherModel.java
index e103961..de4f35b 100644
--- a/src/com/android/launcher2/LauncherModel.java
+++ b/src/com/android/launcher2/LauncherModel.java
@@ -269,6 +269,8 @@
* 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 @@
final Callbacks callbacks = mCallbacks != null ? mCallbacks.get() : null;
if (callbacks == null) {
+ Log.d(TAG, "nobody to tell about the new app");
return;
}