am 08f97496: Fixes #1949637. Home was setting waitingForResult=true whenever an app was launched.

Merge commit '08f97496b72aaff822aba89271e9bd458aafae2d'

* commit '08f97496b72aaff822aba89271e9bd458aafae2d':
  Fixes #1949637. Home was setting waitingForResult=true whenever an app was launched.
This commit is contained in:
Romain Guy 2009-07-01 11:19:02 -07:00 committed by The Android Open Source Project
commit 2149f483a1
1 changed files with 1 additions and 1 deletions

View File

@ -1096,7 +1096,7 @@ public final class Launcher extends Activity implements View.OnClickListener, On
@Override
public void startActivityForResult(Intent intent, int requestCode) {
mWaitingForResult = true;
if (requestCode >= 0) mWaitingForResult = true;
super.startActivityForResult(intent, requestCode);
}