mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user