Per-recipient ringtones can't be file based

This commit is contained in:
Moxie Marlinspike 2017-12-19 11:01:55 -08:00
parent 9c77ffc2a4
commit d782d3006b

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;
}