parent
e8541e7103
commit
90651bd290
1 changed files with 3 additions and 3 deletions
|
@ -403,7 +403,7 @@ public class ResourceManager {
|
|||
if (file.exists() && file.canRead()) {
|
||||
File[] lf = file.listFiles();
|
||||
if (lf != null) {
|
||||
java.text.DateFormat dateFormat = DateFormat.getDateFormat(context);
|
||||
java.text.DateFormat dateFormat = getDateFormat();
|
||||
for (File f : lf) {
|
||||
if (f.isDirectory()) {
|
||||
String lang = f.getName().replace("-tts", "");
|
||||
|
@ -429,7 +429,7 @@ public class ResourceManager {
|
|||
if (file.exists() && file.canRead()) {
|
||||
File[] lf = file.listFiles();
|
||||
if (lf != null) {
|
||||
java.text.DateFormat dateFormat = DateFormat.getDateFormat(context);
|
||||
java.text.DateFormat dateFormat = getDateFormat();
|
||||
for (File f : lf) {
|
||||
if (!f.isDirectory()) {
|
||||
indexFileNames.put(f.getName(), dateFormat.format(f.lastModified()));
|
||||
|
@ -671,7 +671,7 @@ public class ResourceManager {
|
|||
if (hasWorldBasemap && worldBasemapMini != null) {
|
||||
files.remove(worldBasemapMini);
|
||||
}
|
||||
java.text.DateFormat dateFormat = DateFormat.getDateFormat(context);
|
||||
java.text.DateFormat dateFormat = getDateFormat();
|
||||
for (File f : files) {
|
||||
progress.startTask(context.getString(R.string.indexing_map) + " " + f.getName(), -1); //$NON-NLS-1$
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue