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) {
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue