summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/tor/TorNotificationManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/tor/TorNotificationManager.java b/app/src/main/java/se/leap/bitmaskclient/tor/TorNotificationManager.java
index 71b5c378..a2401732 100644
--- a/app/src/main/java/se/leap/bitmaskclient/tor/TorNotificationManager.java
+++ b/app/src/main/java/se/leap/bitmaskclient/tor/TorNotificationManager.java
@@ -47,7 +47,7 @@ public class TorNotificationManager {
return notificationBuilder
.setSmallIcon(R.drawable.ic_bridge_36)
.setWhen(System.currentTimeMillis())
- .setContentTitle(context.getString(R.string.tor_started)).build();
+ .setContentText(context.getString(R.string.tor_started)).build();
}
public void buildTorNotification(Context context, String state) {
@@ -60,7 +60,7 @@ public class TorNotificationManager {
.setSmallIcon(R.drawable.ic_bridge_36)
.setWhen(System.currentTimeMillis())
.setTicker(state)
- .setContentTitle(state);
+ .setContentText(state);
notificationManager.notify(TOR_SERVICE_NOTIFICATION_ID, notificationBuilder.build());
}