diff --git a/app/build.gradle b/app/build.gradle index c8af797bbe..da55a660a4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -99,7 +99,8 @@ android { resValue "string", "app_name", "AndroidAPS" versionName version manifestPlaceholders = [ - appIcon: "@mipmap/ic_launcher" + appIcon: "@mipmap/ic_launcher", + appIconRound: "@mipmap/ic_launcher_round" ] buildConfigField "boolean", "APS", "true" buildConfigField "boolean", "PUMPDRIVERS", "true" @@ -112,7 +113,8 @@ android { resValue "string", "app_name", "AndroidAPS" versionName version manifestPlaceholders = [ - appIcon: "@mipmap/blueowl" + appIcon: "@mipmap/blueowl", + appIconRound: "@null" ] buildConfigField "boolean", "APS", "false" buildConfigField "boolean", "PUMPDRIVERS", "true" @@ -125,7 +127,8 @@ android { resValue "string", "app_name", "NSClient" versionName version + "-nsclient" manifestPlaceholders = [ - appIcon: "@mipmap/yellowowl" + appIcon: "@mipmap/yellowowl", + appIconRound: "@null" ] buildConfigField "boolean", "APS", "false" buildConfigField "boolean", "PUMPDRIVERS", "false" @@ -138,7 +141,8 @@ android { resValue "string", "app_name", "NSClient" versionName version + "-nsclient" manifestPlaceholders = [ - appIcon: "@mipmap/yellowowl" + appIcon: "@mipmap/yellowowl", + appIconRound: "@null" ] buildConfigField "boolean", "APS", "false" buildConfigField "boolean", "PUMPDRIVERS", "false" diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 78202d9250..a700280942 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -30,6 +30,7 @@ android:name=".MainApp" android:allowBackup="true" android:icon="${appIcon}" + android:roundIcon="${appIconRound}" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme.NoActionBar">