[android][notifications] misc linting
This commit is contained in:
parent
6dce84b0db
commit
8b90b5a7b3
|
@ -560,9 +560,9 @@ public class RNFirebaseNotificationManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
private Uri getSound(String sound) {
|
private Uri getSound(String sound) {
|
||||||
if (sound == null)
|
if (sound == null) {
|
||||||
return null;
|
return null;
|
||||||
else if (sound.contains("://")) {
|
} else if (sound.contains("://")) {
|
||||||
return Uri.parse(sound);
|
return Uri.parse(sound);
|
||||||
} else if (sound.equalsIgnoreCase("default")) {
|
} else if (sound.equalsIgnoreCase("default")) {
|
||||||
return RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
|
return RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
|
||||||
|
|
Loading…
Reference in New Issue