Closed
Bug 761536
Opened 13 years ago
Closed 13 years ago
Do not hardcode /data/data directories
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 16
People
(Reporter: gcp, Unassigned)
Details
Attachments
(1 file)
26.22 KB,
patch
|
blassey
:
review+
|
Details | Diff | Splinter Review |
From Bug 738168: We hardcode "/data/data" in several places. We probably shouldn't do that but find this directory though Android functions instead.
embedding/android/CrashReporter.java.in: new File("/data/data/@ANDROID_PACKAGE_NAME@/files/mozilla/Crash Reports/pending");
embedding/android/CrashReporter.java.in: "/data/data/@ANDROID_PACKAGE_NAME@/files/mozilla/Crash Reports/submitted");
embedding/android/GeckoAppShell.java: File oldHome = new File("/data/data/" +
embedding/android/GeckoAppShell.java: File oldHome = new File("/data/data/" +
mobile/android/base/CrashReporter.java.in: private static final String CRASH_REPORT_DIR = "/data/data/@ANDROID_PACKAGE_NAME@/files/mozilla/Crash Reports/";
Reporter | ||
Comment 1•13 years ago
|
||
This also updates the XUL crash reporter to be identical to the Native one, which fixes things like bug 702624 (XUL still suffers from it as far as I can tell!).
Attachment #630225 -
Flags: review?(blassey.bugs)
Updated•13 years ago
|
Attachment #630225 -
Flags: review?(blassey.bugs) → review+
Reporter | ||
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 16
Assignee | ||
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•