Bug 1462408 - Set correct Intent flags when launching Fennec crash reporter r=jchen

MozReview-Commit-ID: 6iXgivUWIWu

--HG--
extra : rebase_source : c7869baddc2eb03e27a88e75b73b1f3afe9768cc
This commit is contained in:
James Willcox 2018-05-22 09:51:27 -05:00
parent bc78820c00
commit 9d684762a9

View File

@ -66,6 +66,7 @@ public class CrashReporterService extends IntentService {
Class<?> reporterActivityCls = getFennecReporterActivity();
if (reporterActivityCls != null) {
intent.setClass(this, reporterActivityCls);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
return;
}