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) { 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;