diff --git a/DroidFish/AndroidManifest.xml b/DroidFish/AndroidManifest.xml index b21b7e5..d7e8c03 100644 --- a/DroidFish/AndroidManifest.xml +++ b/DroidFish/AndroidManifest.xml @@ -11,7 +11,7 @@ - diff --git a/DroidFish/res/drawable-hdpi/icon.png b/DroidFish/res/mipmap-hdpi/icon.png similarity index 100% rename from DroidFish/res/drawable-hdpi/icon.png rename to DroidFish/res/mipmap-hdpi/icon.png diff --git a/DroidFish/res/drawable-ldpi/icon.png b/DroidFish/res/mipmap-ldpi/icon.png similarity index 100% rename from DroidFish/res/drawable-ldpi/icon.png rename to DroidFish/res/mipmap-ldpi/icon.png diff --git a/DroidFish/res/drawable-mdpi/icon.png b/DroidFish/res/mipmap-mdpi/icon.png similarity index 100% rename from DroidFish/res/drawable-mdpi/icon.png rename to DroidFish/res/mipmap-mdpi/icon.png diff --git a/DroidFish/res/mipmap-xhdpi/icon.png b/DroidFish/res/mipmap-xhdpi/icon.png new file mode 100644 index 0000000..0262690 Binary files /dev/null and b/DroidFish/res/mipmap-xhdpi/icon.png differ diff --git a/DroidFish/res/mipmap-xxhdpi/icon.png b/DroidFish/res/mipmap-xxhdpi/icon.png new file mode 100644 index 0000000..dc974ef Binary files /dev/null and b/DroidFish/res/mipmap-xxhdpi/icon.png differ diff --git a/DroidFish/res/mipmap-xxxhdpi/icon.png b/DroidFish/res/mipmap-xxxhdpi/icon.png new file mode 100644 index 0000000..9b3e482 Binary files /dev/null and b/DroidFish/res/mipmap-xxxhdpi/icon.png differ diff --git a/DroidFish/src/org/petero/droidfish/DroidFish.java b/DroidFish/src/org/petero/droidfish/DroidFish.java index 0c08fa3..ef19ac2 100644 --- a/DroidFish/src/org/petero/droidfish/DroidFish.java +++ b/DroidFish/src/org/petero/droidfish/DroidFish.java @@ -3417,7 +3417,7 @@ public class DroidFish extends Activity implements GUIInterface { NotificationManager mNotificationManager = (NotificationManager)getSystemService(ns); if (show) { boolean silhouette = Build.VERSION.SDK_INT >= 21; - int icon = silhouette ? R.drawable.silhouette : R.drawable.icon; + int icon = silhouette ? R.drawable.silhouette : R.mipmap.icon; CharSequence tickerText = getString(R.string.heavy_cpu_usage); long when = System.currentTimeMillis(); Context context = getApplicationContext();