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
1 changed files with 3 additions and 0 deletions

View File

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