diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-19 10:21:18 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-19 10:21:18 +1300 |
commit | 3d400c3d64a79e98bec9b1d70554e636e6ae277e (patch) | |
tree | da8f29e036e1d8ae6c46cdabefa033733274502a /app/src/google/java/org/traccar/manager/ManagerMessagingService.java | |
parent | 9231e195ef3250889920a4221612e69d4b7b5916 (diff) | |
download | etbsa-traccar-manager-android-3d400c3d64a79e98bec9b1d70554e636e6ae277e.tar.gz etbsa-traccar-manager-android-3d400c3d64a79e98bec9b1d70554e636e6ae277e.tar.bz2 etbsa-traccar-manager-android-3d400c3d64a79e98bec9b1d70554e636e6ae277e.zip |
Add push notification icon
Diffstat (limited to 'app/src/google/java/org/traccar/manager/ManagerMessagingService.java')
-rw-r--r-- | app/src/google/java/org/traccar/manager/ManagerMessagingService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/google/java/org/traccar/manager/ManagerMessagingService.java b/app/src/google/java/org/traccar/manager/ManagerMessagingService.java index 55e664b..55a3b06 100644 --- a/app/src/google/java/org/traccar/manager/ManagerMessagingService.java +++ b/app/src/google/java/org/traccar/manager/ManagerMessagingService.java @@ -32,7 +32,7 @@ public class ManagerMessagingService extends FirebaseMessagingService { PendingIntent pendingIntent = PendingIntent.getActivity( this, 0, new Intent(this, MainActivity.class), PendingIntent.FLAG_ONE_SHOT); NotificationCompat.Builder builder = new NotificationCompat.Builder(this, getString(R.string.notification_channel_id)) - .setSmallIcon(R.mipmap.ic_launcher) + .setSmallIcon(R.drawable.ic_stat_notify) .setContentTitle(getString(R.string.app_name)) .setContentText(remoteMessage.getNotification().getBody()) .setAutoCancel(true) |