Closed Bug 761536 Opened 13 years ago Closed 13 years ago

Do not hardcode /data/data directories

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 16

People

(Reporter: gcp, Unassigned)

Details

Attachments

(1 file)

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/";
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)
Attachment #630225 - Flags: review?(blassey.bugs) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 16
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: