mirror of
https://github.com/moparisthebest/SSLDroid
synced 2024-11-27 03:12:18 -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:
parent
6c07dca8e0
commit
69c521c91e
@ -105,6 +105,9 @@ public class SSLDroid extends Service {
|
||||
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);
|
||||
notification.setLatestEventInfo(this, title, text, activity);
|
||||
|
Loading…
Reference in New Issue
Block a user