Remove exception handle

This commit is contained in:
vshcherb 2012-04-03 22:45:24 +03:00
parent d659a832ee
commit 1342fb9aa4

View file

@ -522,11 +522,8 @@ public class DownloadIndexActivity extends OsmandExpandableListActivity {
if(parent != null) {
parent.mkdirs();
// ".nomedia" indicates there are no pictures and no music to list in this dir for the Gallery and Music apps
if( preventMediaIndexing ) {
try{
new File(parent, ".nomedia").createNewFile(); //$NON-NLS-1$
} catch( Exception e ) {
}
if( preventMediaIndexing ) {
new File(parent, ".nomedia").createNewFile(); //$NON-NLS-1$
}
}
final DownloadEntry entry;