1
0
mirror of https://github.com/moparisthebest/SSLDroid synced 2024-11-27 11:22:20 -05:00

Removed the ticker text on service startup notification, only

displaying the icon now (less disturbing)

Signed-off-by: Balint Kovacs <blint@blint.hu>
This commit is contained in:
Balint Kovacs 2011-05-04 19:57:50 +02:00
parent 6c07dca8e0
commit 69c521c91e

View File

@ -105,6 +105,9 @@ public class SSLDroid extends Service {
else else
notification.flags |= Notification.FLAG_AUTO_CANCEL; notification.flags |= Notification.FLAG_AUTO_CANCEL;
notification.flags |= Notification.FLAG_ONGOING_EVENT;
notification.tickerText = null;
Intent intent = new Intent(this, SSLDroidGui.class); Intent intent = new Intent(this, SSLDroidGui.class);
PendingIntent activity = PendingIntent.getActivity(this, 0, intent, 0); PendingIntent activity = PendingIntent.getActivity(this, 0, intent, 0);
notification.setLatestEventInfo(this, title, text, activity); notification.setLatestEventInfo(this, title, text, activity);