Minor code cleanup

This commit is contained in:
Dominik Schürmann
2014-11-21 12:41:39 +01:00
parent a798d95411
commit fc32f5f9d4
7 changed files with 13 additions and 14 deletions

View File

@@ -77,7 +77,7 @@ public class KeychainApplication extends Application {
}
*/
// Create APG directory on sdcard if not existing
// Create OpenKeychain directory on sdcard if not existing
if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {
if (!Constants.Path.APP_DIR.exists() && !Constants.Path.APP_DIR.mkdirs()) {
// ignore this for now, it's not crucial