fixed .webm download locatiion issue
This commit is contained in:
parent
920c169d55
commit
f9ac199c1f
10 changed files with 32 additions and 43 deletions
|
|
@ -89,14 +89,6 @@ public class NewPipeSettings {
|
|||
return downloadPath;
|
||||
}
|
||||
|
||||
public static String getDownloadPath(Context context, String fileName)
|
||||
{
|
||||
if(Utility.isVideoFile(fileName)) {
|
||||
return NewPipeSettings.getVideoDownloadPath(context);
|
||||
}
|
||||
return NewPipeSettings.getAudioDownloadPath(context);
|
||||
}
|
||||
|
||||
private static File getFolder(Context context, int keyID, String defaultDirectoryName) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
final String key = context.getString(keyID);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue