Bug 772651 - change name for temp directory from hard-coding r=blassey, mfinkle

This commit is contained in:
Arkady Blyakher 2012-07-10 19:55:38 -07:00
parent 933907bf20
commit de0d40bdd4

View File

@ -2310,8 +2310,7 @@ abstract public class GeckoApp
// Get/Create a temporary direcory // Get/Create a temporary direcory
public static File getTempDirectory() { public static File getTempDirectory() {
File sdcard = Environment.getExternalStorageDirectory(); File dir = mAppContext.getExternalFilesDir("temp");
File dir = new File(sdcard.getAbsolutePath() + "/firefox");
dir.mkdirs(); dir.mkdirs();
return dir; return dir;
} }