Merge remote-tracking branch 'origin/master'
|
@ -3,7 +3,7 @@
|
||||||
xmlns:tools="http://schemas.android.com/tools">
|
xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:icon="@drawable/icon_free"
|
android:icon="@mipmap/icon_free"
|
||||||
android:label="@string/app_name_free"
|
android:label="@string/app_name_free"
|
||||||
tools:replace="android:icon, android:label">
|
tools:replace="android:icon, android:label">
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
xmlns:tools="http://schemas.android.com/tools">
|
xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:icon="@drawable/icon_free"
|
android:icon="@mipmap/icon_free"
|
||||||
tools:replace="android:icon">
|
tools:replace="android:icon">
|
||||||
<service
|
<service
|
||||||
android:name="net.osmand.plus.NavigationService"
|
android:name="net.osmand.plus.NavigationService"
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
|
|
||||||
<!-- android:theme="@style/OsmandLightDarkActionBarTheme" -->
|
<!-- android:theme="@style/OsmandLightDarkActionBarTheme" -->
|
||||||
<application android:allowBackup="true" android:backupAgent="net.osmand.plus.OsmandBackupAgent"
|
<application android:allowBackup="true" android:backupAgent="net.osmand.plus.OsmandBackupAgent"
|
||||||
android:icon="@drawable/icon" android:label="@string/app_name"
|
android:icon="@mipmap/icon" android:label="@string/app_name"
|
||||||
android:name="net.osmand.plus.OsmandApplication" android:configChanges="locale"
|
android:name="net.osmand.plus.OsmandApplication" android:configChanges="locale"
|
||||||
android:theme="@style/OsmandDarkTheme" android:restoreAnyVersion="true" android:largeHeap="true">
|
android:theme="@style/OsmandDarkTheme" android:restoreAnyVersion="true" android:largeHeap="true">
|
||||||
|
|
||||||
|
@ -58,8 +58,8 @@
|
||||||
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_H" android:resource="@dimen/app_defaultsize_h" android:value="" />
|
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_H" android:resource="@dimen/app_defaultsize_h" android:value="" />
|
||||||
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_W" android:resource="@dimen/app_minimumsize_w" android:value="" />
|
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_W" android:resource="@dimen/app_minimumsize_w" android:value="" />
|
||||||
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H" android:resource="@dimen/app_minimumsize_h" android:value="" />
|
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H" android:resource="@dimen/app_minimumsize_h" android:value="" />
|
||||||
<meta-data android:name="com.sec.minimode.icon.portrait.normal" android:resource="@drawable/icon" android:value="" />
|
<meta-data android:name="com.sec.minimode.icon.portrait.normal" android:resource="@mipmap/icon" android:value="" />
|
||||||
<meta-data android:name="com.sec.minimode.icon.landscape.normal" android:resource="@drawable/icon" android:value="" />
|
<meta-data android:name="com.sec.minimode.icon.landscape.normal" android:resource="@mipmap/icon" android:value="" />
|
||||||
<activity android:name="net.osmand.plus.activities.HelpActivity" />
|
<activity android:name="net.osmand.plus.activities.HelpActivity" />
|
||||||
<activity android:name="net.osmand.plus.activities.ExitActivity" />
|
<activity android:name="net.osmand.plus.activities.ExitActivity" />
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 3 KiB |
5
OsmAnd/res/mipmap-anydpi-v26/icon.xml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<background android:drawable="@mipmap/adaptive_icon_osmand_background" />
|
||||||
|
<foreground android:drawable="@mipmap/adaptive_icon_osmand_logo" />
|
||||||
|
</adaptive-icon>
|
BIN
OsmAnd/res/mipmap-hdpi/adaptive_icon_osmand_background.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
OsmAnd/res/mipmap-hdpi/adaptive_icon_osmand_logo.png
Normal file
After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 7 KiB After Width: | Height: | Size: 7 KiB |
BIN
OsmAnd/res/mipmap-mdpi/adaptive_icon_osmand_background.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
OsmAnd/res/mipmap-mdpi/adaptive_icon_osmand_logo.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
BIN
OsmAnd/res/mipmap-xhdpi/adaptive_icon_osmand_background.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
OsmAnd/res/mipmap-xhdpi/adaptive_icon_osmand_logo.png
Normal file
After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
BIN
OsmAnd/res/mipmap-xxhdpi/adaptive_icon_osmand_background.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
OsmAnd/res/mipmap-xxhdpi/adaptive_icon_osmand_logo.png
Normal file
After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
BIN
OsmAnd/res/mipmap-xxxhdpi/adaptive_icon_osmand_background.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
OsmAnd/res/mipmap-xxxhdpi/adaptive_icon_osmand_logo.png
Normal file
After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
@ -111,7 +111,7 @@ public abstract class AbstractPrologCommandPlayer implements CommandPlayer, Stat
|
||||||
NotificationCompat.Builder notificationBuilder =
|
NotificationCompat.Builder notificationBuilder =
|
||||||
new NotificationCompat.Builder(ctx)
|
new NotificationCompat.Builder(ctx)
|
||||||
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
|
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
|
||||||
.setSmallIcon(R.drawable.icon)
|
.setSmallIcon(R.mipmap.icon)
|
||||||
.setContentTitle(ctx.getString(R.string.app_name))
|
.setContentTitle(ctx.getString(R.string.app_name))
|
||||||
.setContentText(message)
|
.setContentText(message)
|
||||||
.setGroup(WEAR_ALERT);
|
.setGroup(WEAR_ALERT);
|
||||||
|
|