refactored some code in creating taskName
This commit is contained in:
parent
734dcf9379
commit
b29012009e
1 changed files with 3 additions and 3 deletions
|
@ -263,9 +263,9 @@ public class DownloadFileHelper {
|
|||
mb = 1;
|
||||
}
|
||||
StringBuilder taskName = new StringBuilder();
|
||||
taskName.append(ctx.getString(R.string.shared_string_downloading)).append(": ")
|
||||
/*+ de.baseName + " " + mb + " MB"*/
|
||||
.append(FileNameTranslationHelper.getFileName(ctx, ctx.getRegions(), de.baseName));
|
||||
taskName.append(ctx.getString(R.string.shared_string_downloading)).append(": ");
|
||||
//+ de.baseName /*+ " " + mb + " MB"*/;
|
||||
taskName.append(FileNameTranslationHelper.getFileName(ctx, ctx.getRegions(), de.baseName));
|
||||
if (de.type != null && de.type.getString(ctx) != null) {
|
||||
taskName.append(" ").append(de.type.getString(ctx));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue