am e6168662: Fix bug 2242465 - Can add shortcuts while the "3d all apps" is open.

Merge commit 'e6168662d8ab2fa8026f0b8701cf6c362b3bbd78' into eclair-mr2

* commit 'e6168662d8ab2fa8026f0b8701cf6c362b3bbd78':
  Fix bug 2242465 - Can add shortcuts while the "3d all apps" is open.
This commit is contained in:
Joe Onorato
2009-11-09 16:15:44 -08:00
committed by Android Git Automerger
+2
View File
@@ -1057,6 +1057,7 @@ public final class Launcher extends Activity
}
private void addItems() {
closeAllApps(true);
showAddDialog(mMenuAddInfo);
}
@@ -1252,6 +1253,7 @@ public final class Launcher extends Activity
}
private void startWallpaper() {
closeAllApps(true);
final Intent pickWallpaper = new Intent(Intent.ACTION_SET_WALLPAPER);
Intent chooser = Intent.createChooser(pickWallpaper,
getText(R.string.chooser_wallpaper));