Closed Bug 706393 Opened 8 years ago Closed 8 years ago

Add API to GeckoApp to get profile dir

Categories

(Firefox for Android :: General, defect)

x86
macOS
defect
Not set

Tracking

()

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+
pushed https://hg.mozilla.org/projects/birch/rev/66f5729d323c
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.