Added Script file chooser. Fixed the issue that background image setting not working
This commit is contained in:
@@ -34,8 +34,10 @@ public class FileUtils {
|
||||
if (cursor.moveToFirst()) {
|
||||
return cursor.getString(column_index);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
// Eat it
|
||||
} catch (Exception ignored) {
|
||||
} finally {
|
||||
if (cursor != null)
|
||||
cursor.close();
|
||||
}
|
||||
} else if ("file".equalsIgnoreCase(uri.getScheme())) {
|
||||
return uri.getPath();
|
||||
|
||||
Reference in New Issue
Block a user