android: Fix empty name on some app launchers

This commit is contained in:
Simon Stürz 2025-12-01 09:59:35 +01:00
parent dcbe619fc1
commit ce952dc536
2 changed files with 7 additions and 7 deletions

View File

@ -25,7 +25,7 @@
<application <application
android:name="org.qtproject.qt.android.bindings.QtApplication" android:name="org.qtproject.qt.android.bindings.QtApplication"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
android:label="nymea:app" android:label="@string/app_name"
android:icon="@mipmap/icon" android:icon="@mipmap/icon"
android:roundIcon="@mipmap/round_icon" android:roundIcon="@mipmap/round_icon"
android:requestLegacyExternalStorage="true" android:requestLegacyExternalStorage="true"
@ -36,7 +36,7 @@
android:name="io.guh.nymeaapp.NymeaAppActivity" android:name="io.guh.nymeaapp.NymeaAppActivity"
android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density" android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density"
android:launchMode="singleTop" android:launchMode="singleTop"
android:label="nymea:app" android:label="@string/app_name"
android:screenOrientation="unspecified" android:screenOrientation="unspecified"
android:theme="@style/SplashScreenTheme" android:theme="@style/SplashScreenTheme"
android:exported="true"> android:exported="true">
@ -67,11 +67,7 @@
android:launchMode="singleTop" android:launchMode="singleTop"
android:screenOrientation="unspecified" android:screenOrientation="unspecified"
android:exported="true" android:exported="true"
android:label=""> android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<meta-data android:name="android.app.lib_name" android:value="-- %%INSERT_APP_LIB_NAME%% --"/> <meta-data android:name="android.app.lib_name" android:value="-- %%INSERT_APP_LIB_NAME%% --"/>
<meta-data android:name="android.app.arguments" android:value="-- %%INSERT_APP_ARGUMENTS%% --"/> <meta-data android:name="android.app.arguments" android:value="-- %%INSERT_APP_ARGUMENTS%% --"/>
</activity> </activity>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">nymea:app</string>
</resources>