Remove exception handle
This commit is contained in:
parent
d659a832ee
commit
1342fb9aa4
1 changed files with 2 additions and 5 deletions
|
@ -522,11 +522,8 @@ public class DownloadIndexActivity extends OsmandExpandableListActivity {
|
||||||
if(parent != null) {
|
if(parent != null) {
|
||||||
parent.mkdirs();
|
parent.mkdirs();
|
||||||
// ".nomedia" indicates there are no pictures and no music to list in this dir for the Gallery and Music apps
|
// ".nomedia" indicates there are no pictures and no music to list in this dir for the Gallery and Music apps
|
||||||
if( preventMediaIndexing ) {
|
if( preventMediaIndexing ) {
|
||||||
try{
|
new File(parent, ".nomedia").createNewFile(); //$NON-NLS-1$
|
||||||
new File(parent, ".nomedia").createNewFile(); //$NON-NLS-1$
|
|
||||||
} catch( Exception e ) {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
final DownloadEntry entry;
|
final DownloadEntry entry;
|
||||||
|
|
Loading…
Reference in a new issue