Closed Bug 706393 Opened 14 years ago Closed 14 years ago

Add API to GeckoApp to get profile dir

Categories

(Firefox for Android Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: blassey, Unassigned)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
No description provided.
Attachment #577873 - Flags: review?(mark.finkle)
Comment on attachment 577873 [details] [diff] [review] patch >diff --git a/mobile/android/base/GeckoApp.java b/mobile/android/base/GeckoApp.java >+ if (args != null && args.contains("-profile")) { >+ // XXX: TO-DO set mProfileDir to the path passed in > mUserDefinedProfile = true; File a bug >+ File getProfileDir() { >+ if (profiles.length == 1) >+ mProfileDir = profiles[0]; >+ // XXX: TO-DO read profiles.ini to get the default profile File a bug >diff --git a/mobile/android/base/GeckoAppShell.java b/mobile/android/base/GeckoAppShell.java >+ static File sHomeDir = null; I assume this code handles checking for a sdcard base profile.
Attachment #577873 - Flags: review?(mark.finkle) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
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: