From b93c885b7e4dfef45ccd5deb6c731e15cb828048 Mon Sep 17 00:00:00 2001 From: Margaux Clerc Date: Thu, 21 Jan 2016 12:24:05 +0100 Subject: [PATCH] Hide logo and notifcation from lockscreen --- src/org/linphone/LinphoneService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/linphone/LinphoneService.java b/src/org/linphone/LinphoneService.java index a9faaf325..216740ddc 100644 --- a/src/org/linphone/LinphoneService.java +++ b/src/org/linphone/LinphoneService.java @@ -117,7 +117,7 @@ public final class LinphoneService extends Service { private String mNotificationTitle; private boolean mDisableRegistrationStatus; private LinphoneCoreListenerBase mListener; - public static int notifcationsPriority = (Version.sdkAboveOrEqual(Version.API16_JELLY_BEAN_41) ? Notification.PRIORITY_DEFAULT : 0); + public static int notifcationsPriority = (Version.sdkAboveOrEqual(Version.API16_JELLY_BEAN_41) ? Notification.PRIORITY_MIN : 0); public int getMessageNotifCount() { return mMsgNotifCount; @@ -155,7 +155,7 @@ public final class LinphoneService extends Service { bm = BitmapFactory.decodeResource(getResources(), R.mipmap.ic_launcher); } catch (Exception e) { } - mNotif = Compatibility.createNotification(this, mNotificationTitle, "", R.drawable.status_level, R.mipmap.ic_launcher, bm, mNotifContentIntent, true,notifcationsPriority); + mNotif = Compatibility.createNotification(this, mNotificationTitle, "", R.drawable.linphone_notification_icon, R.mipmap.ic_launcher, bm, mNotifContentIntent, true,notifcationsPriority); LinphoneManager.createAndStart(LinphoneService.this);