Per-recipient ringtones can't be file based

master
Moxie Marlinspike 2017-12-19 11:01:55 -08:00
parent 9c77ffc2a4
commit d782d3006b
1 changed files with 4 additions and 0 deletions

View File

@ -453,6 +453,10 @@ public class Recipient implements RecipientModifiedListener {
}
public synchronized @Nullable Uri getRingtone() {
if (ringtone != null && ringtone.getScheme() != null && ringtone.getScheme().startsWith("file")) {
return null;
}
return ringtone;
}