Fix issue where launcher didn't return to workspace on screen off (issue 5628744)

Change-Id: Ic058cf7a803d2fe7be98325138cd5bd52a96cd9c
This commit is contained in:
Adam Cohen
2012-02-02 15:41:45 -08:00
parent af0d8cea31
commit 6af9af057f
2 changed files with 1 additions and 5 deletions
+1 -3
View File
@@ -505,9 +505,6 @@ public final class Launcher extends Activity
// We just wanted the activity result here so we can clear mWaitingForResult
break;
}
// In any situation where we have a multi-step drop, we should reset the add info only after
// we complete the drop
resetAddInfo();
return result;
}
@@ -998,6 +995,7 @@ public final class Launcher extends Activity
addWidgetToAutoAdvanceIfNeeded(launcherInfo.hostView, appWidgetInfo);
}
resetAddInfo();
}
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
-2
View File
@@ -17,8 +17,6 @@
package com.android.launcher2;
import android.animation.Animator;
import android.animation.Animator.AnimatorListener;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.animation.TimeInterpolator;