bug 616078 - Make sure we have a new process for android restarter r=mwu a=blocking-fennec
This commit is contained in:
@@ -82,8 +82,7 @@
|
||||
#if MOZ_CRASHREPORTER
|
||||
<activity android:name="CrashReporter"
|
||||
android:label="@MOZ_APP_DISPLAYNAME@ Crash Reporter"
|
||||
android:icon="@drawable/crash_reporter"
|
||||
android:process="org.mozilla.@MOZ_APP_NAME@.crashReporter" >
|
||||
android:icon="@drawable/crash_reporter" >
|
||||
<intent-filter>
|
||||
<action android:name="org.mozilla.gecko.reportCrash" />
|
||||
</intent-filter>
|
||||
|
||||
@@ -297,7 +297,6 @@ public class CrashReporter extends Activity
|
||||
Intent intent = new Intent(action);
|
||||
intent.setClassName("org.mozilla.@MOZ_APP_NAME@",
|
||||
"org.mozilla.@MOZ_APP_NAME@.App");
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
Log.i("GeckoCrashReporter", intent.toString());
|
||||
startActivity(intent);
|
||||
} catch (Exception e) {
|
||||
|
||||
@@ -537,7 +537,8 @@ abstract public class GeckoApp
|
||||
intent.setClassName("org.mozilla." + getAppName(),
|
||||
"org.mozilla." + getAppName() + ".Restarter");
|
||||
addEnvToIntent(intent);
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
|
||||
Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
|
||||
Log.i("GeckoAppJava", intent.toString());
|
||||
startActivity(intent);
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user