Commit 23e55669 authored by Geoffrey Métais's avatar Geoffrey Métais

Fix file check

parent 09e9f097
......@@ -76,7 +76,7 @@ public class AudioUtil {
public static void setRingtone(MediaWrapper song, Context context){
File newringtone = LibVlcUtil.URItoFile(song.getLocation());
if(newringtone == null || (newringtone != null && !newringtone.exists())) {
if(newringtone == null || !newringtone.exists()) {
Toast.makeText(context.getApplicationContext(),context.getString(R.string.ringtone_error), Toast.LENGTH_SHORT).show();
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment