Browse Source

keep downloaded files' origin name

main v8.7.4
luvletter2333 2 months ago
parent
commit
2a317b62ac
No known key found for this signature in database GPG Key ID: A26A8880836E1978
  1. 2
      TMessagesProj/src/main/java/org/telegram/messenger/MediaController.java

2
TMessagesProj/src/main/java/org/telegram/messenger/MediaController.java

@ -3974,7 +3974,7 @@ public class MediaController implements AudioManager.OnAudioFocusChangeListener,
boolean result = true;
final String folderName = NekoConfig.customSavePath.String();
if (Build.VERSION.SDK_INT >= 29) {
result = saveFileInternal(type, sourceFile, null);
result = saveFileInternal(type, sourceFile, name);
} else {
File destFile;
if (type == 0) {

Loading…
Cancel
Save