From de0d40bdd495ae43ac7b1fdaf0b3c0ac6b1a8cd0 Mon Sep 17 00:00:00 2001 From: Arkady Blyakher Date: Tue, 10 Jul 2012 19:55:38 -0700 Subject: [PATCH] Bug 772651 - change name for temp directory from hard-coding r=blassey, mfinkle --- mobile/android/base/GeckoApp.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mobile/android/base/GeckoApp.java b/mobile/android/base/GeckoApp.java index c298aaf979e..be2c88864a8 100644 --- a/mobile/android/base/GeckoApp.java +++ b/mobile/android/base/GeckoApp.java @@ -2310,8 +2310,7 @@ abstract public class GeckoApp // Get/Create a temporary direcory public static File getTempDirectory() { - File sdcard = Environment.getExternalStorageDirectory(); - File dir = new File(sdcard.getAbsolutePath() + "/firefox"); + File dir = mAppContext.getExternalFilesDir("temp"); dir.mkdirs(); return dir; }