Commit 34110162 by Sebastián Katzer

Prefer default style

parent c00e96af
......@@ -116,12 +116,8 @@ public class Builder {
*/
public Notification build() {
Uri sound = options.getSoundUri();
NotificationCompat.BigTextStyle style;
NotificationCompat.Builder builder;
style = new NotificationCompat.BigTextStyle()
.bigText(options.getText());
builder = new NotificationCompat.Builder(context)
.setDefaults(0)
.setContentTitle(options.getTitle())
......@@ -132,7 +128,6 @@ public class Builder {
.setLargeIcon(options.getIconBitmap())
.setAutoCancel(options.isAutoClear())
.setOngoing(options.isOngoing())
.setStyle(style)
.setLights(options.getLedColor(), 500, 500);
if (sound != null) {
......
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