diff --git a/OsmAnd/AndroidManifest-free.xml b/OsmAnd/AndroidManifest-free.xml index 2602c8c8f5..5a1ac9c051 100644 --- a/OsmAnd/AndroidManifest-free.xml +++ b/OsmAnd/AndroidManifest-free.xml @@ -3,7 +3,7 @@ xmlns:tools="http://schemas.android.com/tools"> diff --git a/OsmAnd/AndroidManifest-freedev.xml b/OsmAnd/AndroidManifest-freedev.xml index bc527a3eed..7a5d7dc9cc 100644 --- a/OsmAnd/AndroidManifest-freedev.xml +++ b/OsmAnd/AndroidManifest-freedev.xml @@ -3,7 +3,7 @@ xmlns:tools="http://schemas.android.com/tools"> @@ -58,8 +58,8 @@ - - + + diff --git a/OsmAnd/res/drawable-ldpi/icon.png b/OsmAnd/res/drawable-ldpi/icon.png deleted file mode 100644 index 64550b640a..0000000000 Binary files a/OsmAnd/res/drawable-ldpi/icon.png and /dev/null differ diff --git a/OsmAnd/res/mipmap-anydpi-v26/icon.xml b/OsmAnd/res/mipmap-anydpi-v26/icon.xml new file mode 100644 index 0000000000..ebe2e1aaa6 --- /dev/null +++ b/OsmAnd/res/mipmap-anydpi-v26/icon.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/OsmAnd/res/mipmap-hdpi/adaptive_icon_osmand_background.png b/OsmAnd/res/mipmap-hdpi/adaptive_icon_osmand_background.png new file mode 100644 index 0000000000..1446ff69a7 Binary files /dev/null and b/OsmAnd/res/mipmap-hdpi/adaptive_icon_osmand_background.png differ diff --git a/OsmAnd/res/mipmap-hdpi/adaptive_icon_osmand_logo.png b/OsmAnd/res/mipmap-hdpi/adaptive_icon_osmand_logo.png new file mode 100644 index 0000000000..7294e8db2e Binary files /dev/null and b/OsmAnd/res/mipmap-hdpi/adaptive_icon_osmand_logo.png differ diff --git a/OsmAnd/res/drawable-hdpi/icon.png b/OsmAnd/res/mipmap-hdpi/icon.png similarity index 100% rename from OsmAnd/res/drawable-hdpi/icon.png rename to OsmAnd/res/mipmap-hdpi/icon.png diff --git a/OsmAnd/res/drawable-hdpi/icon_free.png b/OsmAnd/res/mipmap-hdpi/icon_free.png similarity index 100% rename from OsmAnd/res/drawable-hdpi/icon_free.png rename to OsmAnd/res/mipmap-hdpi/icon_free.png diff --git a/OsmAnd/res/drawable-hdpi/icon_nightly.png b/OsmAnd/res/mipmap-hdpi/icon_nightly.png similarity index 100% rename from OsmAnd/res/drawable-hdpi/icon_nightly.png rename to OsmAnd/res/mipmap-hdpi/icon_nightly.png diff --git a/OsmAnd/res/mipmap-mdpi/adaptive_icon_osmand_background.png b/OsmAnd/res/mipmap-mdpi/adaptive_icon_osmand_background.png new file mode 100644 index 0000000000..a37b0aee72 Binary files /dev/null and b/OsmAnd/res/mipmap-mdpi/adaptive_icon_osmand_background.png differ diff --git a/OsmAnd/res/mipmap-mdpi/adaptive_icon_osmand_logo.png b/OsmAnd/res/mipmap-mdpi/adaptive_icon_osmand_logo.png new file mode 100644 index 0000000000..3ce71db0d6 Binary files /dev/null and b/OsmAnd/res/mipmap-mdpi/adaptive_icon_osmand_logo.png differ diff --git a/OsmAnd/res/drawable-mdpi/icon.png b/OsmAnd/res/mipmap-mdpi/icon.png similarity index 100% rename from OsmAnd/res/drawable-mdpi/icon.png rename to OsmAnd/res/mipmap-mdpi/icon.png diff --git a/OsmAnd/res/drawable-mdpi/icon_free.png b/OsmAnd/res/mipmap-mdpi/icon_free.png similarity index 100% rename from OsmAnd/res/drawable-mdpi/icon_free.png rename to OsmAnd/res/mipmap-mdpi/icon_free.png diff --git a/OsmAnd/res/drawable-mdpi/icon_nightly.png b/OsmAnd/res/mipmap-mdpi/icon_nightly.png similarity index 100% rename from OsmAnd/res/drawable-mdpi/icon_nightly.png rename to OsmAnd/res/mipmap-mdpi/icon_nightly.png diff --git a/OsmAnd/res/mipmap-xhdpi/adaptive_icon_osmand_background.png b/OsmAnd/res/mipmap-xhdpi/adaptive_icon_osmand_background.png new file mode 100644 index 0000000000..758d7f5544 Binary files /dev/null and b/OsmAnd/res/mipmap-xhdpi/adaptive_icon_osmand_background.png differ diff --git a/OsmAnd/res/mipmap-xhdpi/adaptive_icon_osmand_logo.png b/OsmAnd/res/mipmap-xhdpi/adaptive_icon_osmand_logo.png new file mode 100644 index 0000000000..87864d7d3e Binary files /dev/null and b/OsmAnd/res/mipmap-xhdpi/adaptive_icon_osmand_logo.png differ diff --git a/OsmAnd/res/drawable-xhdpi/icon.png b/OsmAnd/res/mipmap-xhdpi/icon.png similarity index 100% rename from OsmAnd/res/drawable-xhdpi/icon.png rename to OsmAnd/res/mipmap-xhdpi/icon.png diff --git a/OsmAnd/res/drawable-xhdpi/icon_free.png b/OsmAnd/res/mipmap-xhdpi/icon_free.png similarity index 100% rename from OsmAnd/res/drawable-xhdpi/icon_free.png rename to OsmAnd/res/mipmap-xhdpi/icon_free.png diff --git a/OsmAnd/res/drawable-xhdpi/icon_nightly.png b/OsmAnd/res/mipmap-xhdpi/icon_nightly.png similarity index 100% rename from OsmAnd/res/drawable-xhdpi/icon_nightly.png rename to OsmAnd/res/mipmap-xhdpi/icon_nightly.png diff --git a/OsmAnd/res/mipmap-xxhdpi/adaptive_icon_osmand_background.png b/OsmAnd/res/mipmap-xxhdpi/adaptive_icon_osmand_background.png new file mode 100644 index 0000000000..569a58b4a7 Binary files /dev/null and b/OsmAnd/res/mipmap-xxhdpi/adaptive_icon_osmand_background.png differ diff --git a/OsmAnd/res/mipmap-xxhdpi/adaptive_icon_osmand_logo.png b/OsmAnd/res/mipmap-xxhdpi/adaptive_icon_osmand_logo.png new file mode 100644 index 0000000000..05c430ea26 Binary files /dev/null and b/OsmAnd/res/mipmap-xxhdpi/adaptive_icon_osmand_logo.png differ diff --git a/OsmAnd/res/drawable-xxhdpi/icon.png b/OsmAnd/res/mipmap-xxhdpi/icon.png similarity index 100% rename from OsmAnd/res/drawable-xxhdpi/icon.png rename to OsmAnd/res/mipmap-xxhdpi/icon.png diff --git a/OsmAnd/res/drawable-xxhdpi/icon_free.png b/OsmAnd/res/mipmap-xxhdpi/icon_free.png similarity index 100% rename from OsmAnd/res/drawable-xxhdpi/icon_free.png rename to OsmAnd/res/mipmap-xxhdpi/icon_free.png diff --git a/OsmAnd/res/drawable-xxhdpi/icon_nightly.png b/OsmAnd/res/mipmap-xxhdpi/icon_nightly.png similarity index 100% rename from OsmAnd/res/drawable-xxhdpi/icon_nightly.png rename to OsmAnd/res/mipmap-xxhdpi/icon_nightly.png diff --git a/OsmAnd/res/mipmap-xxxhdpi/adaptive_icon_osmand_background.png b/OsmAnd/res/mipmap-xxxhdpi/adaptive_icon_osmand_background.png new file mode 100644 index 0000000000..e35b82cbd9 Binary files /dev/null and b/OsmAnd/res/mipmap-xxxhdpi/adaptive_icon_osmand_background.png differ diff --git a/OsmAnd/res/mipmap-xxxhdpi/adaptive_icon_osmand_logo.png b/OsmAnd/res/mipmap-xxxhdpi/adaptive_icon_osmand_logo.png new file mode 100644 index 0000000000..1239657a01 Binary files /dev/null and b/OsmAnd/res/mipmap-xxxhdpi/adaptive_icon_osmand_logo.png differ diff --git a/OsmAnd/res/drawable-xxxhdpi/icon.png b/OsmAnd/res/mipmap-xxxhdpi/icon.png similarity index 100% rename from OsmAnd/res/drawable-xxxhdpi/icon.png rename to OsmAnd/res/mipmap-xxxhdpi/icon.png diff --git a/OsmAnd/res/drawable-xxxhdpi/icon_free.png b/OsmAnd/res/mipmap-xxxhdpi/icon_free.png similarity index 100% rename from OsmAnd/res/drawable-xxxhdpi/icon_free.png rename to OsmAnd/res/mipmap-xxxhdpi/icon_free.png diff --git a/OsmAnd/res/drawable-xxxhdpi/icon_nightly.png b/OsmAnd/res/mipmap-xxxhdpi/icon_nightly.png similarity index 100% rename from OsmAnd/res/drawable-xxxhdpi/icon_nightly.png rename to OsmAnd/res/mipmap-xxxhdpi/icon_nightly.png diff --git a/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java b/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java index dfc30635c2..15eac5021e 100644 --- a/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java +++ b/OsmAnd/src/net/osmand/plus/voice/AbstractPrologCommandPlayer.java @@ -111,7 +111,7 @@ public abstract class AbstractPrologCommandPlayer implements CommandPlayer, Stat NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(ctx) .setVisibility(NotificationCompat.VISIBILITY_PUBLIC) - .setSmallIcon(R.drawable.icon) + .setSmallIcon(R.mipmap.icon) .setContentTitle(ctx.getString(R.string.app_name)) .setContentText(message) .setGroup(WEAR_ALERT);