mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-11 19:45:01 -05:00
Fix sound notification
This commit is contained in:
parent
7c63155cfb
commit
feaf1d4aea
@ -209,6 +209,10 @@ public class IRCService extends Service
|
|||||||
notification.vibrate = pattern;
|
notification.vibrate = pattern;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sound) {
|
||||||
|
notification.defaults |= Notification.DEFAULT_SOUND;
|
||||||
|
}
|
||||||
|
|
||||||
notificationManager.notify(R.string.app_name, notification);
|
notificationManager.notify(R.string.app_name, notification);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user