Fix app icon for old android version

This commit is contained in:
Margaux Clerc 2016-01-19 11:30:31 +01:00
parent 2c63667f8f
commit 16f69d4606
6 changed files with 3 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View file

@ -152,7 +152,7 @@ public final class LinphoneService extends Service {
Bitmap bm = null;
try {
bm = BitmapFactory.decodeResource(getResources(), R.drawable.linphone_logo);
bm = BitmapFactory.decodeResource(getResources(), R.mipmap.ic_launcher);
} catch (Exception e) {
}
@ -361,7 +361,7 @@ public final class LinphoneService extends Service {
Bitmap bm = null;
try {
bm = BitmapFactory.decodeResource(getResources(), R.drawable.linphone_logo);
bm = BitmapFactory.decodeResource(getResources(), R.mipmap.ic_launcher);
} catch (Exception e) {
}
mCustomNotif = Compatibility.createNotification(this, title, message, iconResourceID, 0, bm, notifContentIntent, isOngoingEvent,notifcationsPriority);
@ -533,7 +533,7 @@ public final class LinphoneService extends Service {
Bitmap bm = null;
try {
bm = BitmapFactory.decodeResource(getResources(), R.drawable.linphone_logo);
bm = BitmapFactory.decodeResource(getResources(), R.mipmap.ic_launcher);
} catch (Exception e) {
}
mNotif = Compatibility.createNotification(this, mNotificationTitle, text, R.drawable.status_level, 0, bm, mNotifContentIntent, true,notifcationsPriority);