Commit 4e966324 authored by Ingmar Kroll's avatar Ingmar Kroll

Icon Notification

parent fd61bb77
......@@ -7,6 +7,7 @@ import android.app.NotificationManager;
import android.content.SharedPreferences;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.graphics.BitmapFactory;
import android.media.AudioAttributes;
import android.media.RingtoneManager;
import android.net.Uri;
......@@ -134,7 +135,9 @@ public class SettingsFragment extends PreferenceFragment implements SharedPrefer
.setAutoCancel(true)
.setDefaults(Notification.DEFAULT_ALL) // für alte Geräte
.setWhen(System.currentTimeMillis())
.setSmallIcon(R.drawable.ic_launcher)
.setSmallIcon(R.drawable.ic_menu_alarm)
.setLargeIcon(BitmapFactory.decodeResource(this.getContext().getResources(),
R.drawable.ic_logo))
.setTicker("Hearty365")
.setPriority(NotificationCompat.PRIORITY_MAX)
.setContentTitle("Notfall in der Mensa")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment