Create track folder if it is missing
This commit is contained in:
parent
df4c8e8374
commit
9cbe950d87
1 changed files with 1 additions and 0 deletions
|
@ -165,6 +165,7 @@ public class ResourceManager {
|
||||||
public void resetStoreDirectory() {
|
public void resetStoreDirectory() {
|
||||||
dirWithTiles = context.getAppPath(IndexConstants.TILES_INDEX_DIR);
|
dirWithTiles = context.getAppPath(IndexConstants.TILES_INDEX_DIR);
|
||||||
dirWithTiles.mkdirs();
|
dirWithTiles.mkdirs();
|
||||||
|
context.getAppPath(IndexConstants.GPX_INDEX_DIR).mkdirs();
|
||||||
// ".nomedia" indicates there are no pictures and no music to list in this dir for the Gallery app
|
// ".nomedia" indicates there are no pictures and no music to list in this dir for the Gallery app
|
||||||
try {
|
try {
|
||||||
context.getAppPath(".nomedia").createNewFile(); //$NON-NLS-1$
|
context.getAppPath(".nomedia").createNewFile(); //$NON-NLS-1$
|
||||||
|
|
Loading…
Reference in a new issue