am 0ace11a2: Add logging to launcher2 to help diagnose 2239265 since QA keeps reassigning it to me without providing more detailed steps to reproduce.
Merge commit '0ace11a2b0da4629d5aefceb36e12c697725d7d1' into eclair-mr2 * commit '0ace11a2b0da4629d5aefceb36e12c697725d7d1': Add logging to launcher2 to help diagnose 2239265 since QA keeps reassigning it to me without
This commit is contained in:
commit
2f0044fc13
2 files changed
+4
No files matched your search
@@ -564,6 +564,7 @@ public class AllAppsView extends RSSurfaceView
|
|||||||
if (index < 0) {
|
if (index < 0) {
|
||||||
index = -(index+1);
|
index = -(index+1);
|
||||||
}
|
}
|
||||||
|
Log.d(TAG, "Adding app '" + item + "' at index " + index + " mRollo=" + mRollo);
|
||||||
mAllAppsList.add(index, item);
|
mAllAppsList.add(index, item);
|
||||||
if (mRollo != null) {
|
if (mRollo != null) {
|
||||||
mRollo.addApp(index, item);
|
mRollo.addApp(index, item);
|
||||||
|
|||||||
@@ -269,6 +269,8 @@ public class LauncherModel extends BroadcastReceiver {
|
|||||||
* ACTION_PACKAGE_CHANGED.
|
* ACTION_PACKAGE_CHANGED.
|
||||||
*/
|
*/
|
||||||
public void onReceive(Context context, Intent intent) {
|
public void onReceive(Context context, Intent intent) {
|
||||||
|
Log.d(TAG, "onReceive intent=" + intent);
|
||||||
|
|
||||||
// Use the app as the context.
|
// Use the app as the context.
|
||||||
context = mApp;
|
context = mApp;
|
||||||
|
|
||||||
@@ -332,6 +334,7 @@ public class LauncherModel extends BroadcastReceiver {
|
|||||||
|
|
||||||
final Callbacks callbacks = mCallbacks != null ? mCallbacks.get() : null;
|
final Callbacks callbacks = mCallbacks != null ? mCallbacks.get() : null;
|
||||||
if (callbacks == null) {
|
if (callbacks == null) {
|
||||||
|
Log.d(TAG, "nobody to tell about the new app");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user