Different app label for debug builds (#545)

* Different app label for debug builds

* Remove underscores from app labels
This commit is contained in:
Nikita Glazkov 2018-03-08 05:41:34 +03:00 committed by Cameron Gutman
parent e697ed72db
commit d2d0ed65d6
4 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_label" translatable="false">Moonlight (Debug)</string>
<string name="app_label_root" translatable="false">Moonlight (Root Debug)</string>
</resources>

View File

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<string name="app_label" translatable="false">Moonlight</string>
<string name="app_label_root" translatable="false">Moonlight (Root)</string>
<!-- Shortcut strings --> <!-- Shortcut strings -->
<string name="scut_deleted_pc">PC deleted</string> <string name="scut_deleted_pc">PC deleted</string>
<string name="scut_not_paired">PC not paired</string> <string name="scut_not_paired">PC not paired</string>

View File

@ -3,5 +3,5 @@
<!-- Non-root application name --> <!-- Non-root application name -->
<!-- FIXME: We should set extractNativeLibs=false but this breaks installation on the Fire TV 3 --> <!-- FIXME: We should set extractNativeLibs=false but this breaks installation on the Fire TV 3 -->
<application android:label="Moonlight" /> <application android:label="@string/app_label" />
</manifest> </manifest>

View File

@ -5,6 +5,6 @@
<!-- Ensure native libraries are always extracted for root builds, <!-- Ensure native libraries are always extracted for root builds,
since we must invoke the evdev_reader binary ourselves --> since we must invoke the evdev_reader binary ourselves -->
<application <application
android:label="Moonlight (Root)" android:label="@string/app_label_root"
android:extractNativeLibs="true" /> android:extractNativeLibs="true" />
</manifest> </manifest>