build(debug): отдельный applicationId для debug-сборки
Суффикс .debug + versionNameSuffix + своё имя на лаунчере - debug ставится рядом с релизом. Копия shortcuts.xml с debug-пакетом, иначе система отбрасывает статические шорткаты.
This commit is contained in:
1 parent
9383401188
commit
a29c060262
3 files changed
+33
-1
No files matched your search
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<shortcut
|
||||
android:shortcutId="start_proxy"
|
||||
android:enabled="true"
|
||||
android:icon="@drawable/play_arrow_24px"
|
||||
android:shortcutShortLabel="@string/shortcut_start_short"
|
||||
android:shortcutLongLabel="@string/shortcut_start_long">
|
||||
<intent
|
||||
android:action="com.freeturn.app.START_PROXY"
|
||||
android:targetPackage="com.freeturn.app.debug"
|
||||
android:targetClass="com.freeturn.app.service.ProxyShortcutActivity" />
|
||||
</shortcut>
|
||||
<shortcut
|
||||
android:shortcutId="stop_proxy"
|
||||
android:enabled="true"
|
||||
android:icon="@drawable/stop_24px"
|
||||
android:shortcutShortLabel="@string/shortcut_stop_short"
|
||||
android:shortcutLongLabel="@string/shortcut_stop_long">
|
||||
<intent
|
||||
android:action="com.freeturn.app.STOP_PROXY"
|
||||
android:targetPackage="com.freeturn.app.debug"
|
||||
android:targetClass="com.freeturn.app.service.ProxyShortcutActivity" />
|
||||
</shortcut>
|
||||
</shortcuts>
|
||||
Reference in new issue
Block a user