Fixed service notification setting being overwritten if android > 8
This commit is contained in:
parent
7cb275d054
commit
2d2b551663
1 changed files with 0 additions and 5 deletions
|
@ -78,11 +78,6 @@ public class NotificationsManager {
|
|||
new Intent(mContext, LinphoneService.instance().getIncomingReceivedActivity());
|
||||
notifIntent.putExtra("Notification", true);
|
||||
|
||||
// Disable service notification for Android O
|
||||
if (Version.sdkAboveOrEqual(Version.API26_O_80)) {
|
||||
LinphonePreferences.instance().setServiceNotificationVisibility(false);
|
||||
}
|
||||
|
||||
Bitmap bm = null;
|
||||
try {
|
||||
bm = BitmapFactory.decodeResource(mContext.getResources(), R.mipmap.ic_launcher);
|
||||
|
|
Loading…
Reference in a new issue