summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2020-03-13 15:30:11 +0200
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2020-03-13 16:04:22 +0200
commit934bb1fba36ba9272a99be87bde72daf31de37d5 (patch)
tree4c7c76f1fa2343a43d7aca1d72ad38725f335a6a
parentfe69fb5371b193288fcb1b38d70c9fd4ac4fd74a (diff)
Fix icon name typo in NotificationClient.javav5.15.0-beta3
Change-Id: I68d221ba772c88586a9a29057d6819f097b92c87 Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
-rw-r--r--examples/androidextras/notification/android/src/org/qtproject/example/notification/NotificationClient.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/androidextras/notification/android/src/org/qtproject/example/notification/NotificationClient.java b/examples/androidextras/notification/android/src/org/qtproject/example/notification/NotificationClient.java
index 84adcf0..16789d1 100644
--- a/examples/androidextras/notification/android/src/org/qtproject/example/notification/NotificationClient.java
+++ b/examples/androidextras/notification/android/src/org/qtproject/example/notification/NotificationClient.java
@@ -79,8 +79,8 @@ public class NotificationClient
m_builder = new Notification.Builder(context);
}
- m_builder.setSmallIcon(R.drawable.ic_launcher)
- .setLargeIcon(BitmapFactory.decodeResource(context.getResources(), R.drawable.ic_launcher))
+ m_builder.setSmallIcon(R.drawable.icon)
+ .setLargeIcon(BitmapFactory.decodeResource(context.getResources(), R.drawable.icon))
.setContentTitle("A message from Qt!")
.setContentText(message)
.setDefaults(Notification.DEFAULT_SOUND)