From 28cdc43f2d1622ca6a6c725c2c7fa276a6197b25 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 15 Jun 2012 13:50:56 +0300 Subject: Make sure homeDirectory exists Change-Id: I3a89bcac3bf46405e8e474f7765d74c643b7ab43 --- .../LibreOfficeUI/src/org/libreoffice/ui/LibreOfficeUIActivity.java | 1 + 1 file changed, 1 insertion(+) (limited to 'android') diff --git a/android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/src/org/libreoffice/ui/LibreOfficeUIActivity.java b/android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/src/org/libreoffice/ui/LibreOfficeUIActivity.java index 2846779f0e60..f6d377581a13 100644 --- a/android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/src/org/libreoffice/ui/LibreOfficeUIActivity.java +++ b/android/experimental/GSoC-2012-eclipse-workspace/LibreOfficeUI/src/org/libreoffice/ui/LibreOfficeUIActivity.java @@ -59,6 +59,7 @@ public class LibreOfficeUIActivity extends Activity implements OnNavigationListe homeDirectory = new File(Environment.getExternalStorageDirectory(),"LibreOffice"); + homeDirectory.mkdirs(); Intent i = this.getIntent(); if( i.hasExtra( currentDirectoryKey ) ){ //This isn't what I think it is. It's not a full path -- cgit