Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
9e6b5a93be
1 changed files with 6 additions and 0 deletions
|
@ -322,6 +322,12 @@ public class DownloadActivityType {
|
|||
String s = fileName.substring(0, l);
|
||||
return s;
|
||||
}
|
||||
if (this == LIVE_UPDATES_FILE) {
|
||||
if(fileName.indexOf('.') > 0){
|
||||
return fileName.substring(0, fileName.indexOf('.'));
|
||||
}
|
||||
return fileName;
|
||||
}
|
||||
int ls = fileName.lastIndexOf('_');
|
||||
if (ls >= 0) {
|
||||
return fileName.substring(0, ls);
|
||||
|
|
Loading…
Reference in a new issue