author | Mark Finkle <mfinkle@mozilla.com> |
Wed, 03 Sep 2014 02:00:45 -0400 | |
changeset 203408 | d73c600ddf5541e5e92bdadf97fa5daf8167738b |
parent 203407 | 886529efa472a06a663a9fbf025cd8fed29e6511 |
child 203409 | 29fe1e6a1e0364a258bb6931ed361ea197ab462b |
push id | 48665 |
push user | ryanvm@gmail.com |
push date | Wed, 03 Sep 2014 20:40:15 +0000 |
treeherder | mozilla-inbound@0da762e6868a [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | rnewman |
bugs | 1061430 |
milestone | 35.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/mobile/android/base/CrashReporter.java +++ b/mobile/android/base/CrashReporter.java @@ -132,17 +132,17 @@ public class CrashReporter extends Activ readStringsFromFile(mPendingExtrasFile.getPath(), mExtrasStringMap); // Set the flag that indicates we were stopped as expected, as // we will send a crash report, so it is not a silent OOM crash. SharedPreferences prefs = GeckoSharedPrefs.forApp(this); SharedPreferences.Editor editor = prefs.edit(); editor.putBoolean(GeckoApp.PREFS_WAS_STOPPED, true); editor.putBoolean(GeckoApp.PREFS_CRASHED, true); - editor.commit(); + editor.apply(); final CheckBox allowContactCheckBox = (CheckBox) findViewById(R.id.allow_contact); final CheckBox includeUrlCheckBox = (CheckBox) findViewById(R.id.include_url); final CheckBox sendReportCheckBox = (CheckBox) findViewById(R.id.send_report); final EditText commentsEditText = (EditText) findViewById(R.id.comment); final EditText emailEditText = (EditText) findViewById(R.id.email); // Load CrashReporter preferences to avoid redundant user input.