keep downloaded files' origin name
This commit is contained in:
parent
8057580313
commit
2a317b62ac
@ -3974,7 +3974,7 @@ public class MediaController implements AudioManager.OnAudioFocusChangeListener,
|
|||||||
boolean result = true;
|
boolean result = true;
|
||||||
final String folderName = NekoConfig.customSavePath.String();
|
final String folderName = NekoConfig.customSavePath.String();
|
||||||
if (Build.VERSION.SDK_INT >= 29) {
|
if (Build.VERSION.SDK_INT >= 29) {
|
||||||
result = saveFileInternal(type, sourceFile, null);
|
result = saveFileInternal(type, sourceFile, name);
|
||||||
} else {
|
} else {
|
||||||
File destFile;
|
File destFile;
|
||||||
if (type == 0) {
|
if (type == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user