Fixes #1949637. Home was setting waitingForResult=true whenever an app was launched.

Home was incorrectly treating apps launches as subactivties launched to obtain results.
This resulted in a protective flag being set when it should not have been.
This commit is contained in:
Romain Guy 2009-06-29 14:41:20 -07:00
parent 806b0f3fbf
commit 08f97496b7
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 @Override
public void startActivityForResult(Intent intent, int requestCode) { public void startActivityForResult(Intent intent, int requestCode) {
mWaitingForResult = true; if (requestCode >= 0) mWaitingForResult = true;
super.startActivityForResult(intent, requestCode); super.startActivityForResult(intent, requestCode);
} }