~singpolyma/cheogram-android

5e7d1f7bcce250ad431e6665d32f3fd6d26b4d88 — Daniel Gultsch 6 years ago 8d9d96d
stop settings from crashing when building with different package id
2 files changed, 3 insertions(+), 2 deletions(-)

M build.gradle
M src/main/res/xml/preferences.xml
M build.gradle => build.gradle +1 -0
@@ 72,6 72,7 @@ android {
        versionName "1.23.8"
        archivesBaseName += "-$versionName"
        applicationId "eu.siacs.conversations"
        resValue "string", "applicationId", applicationId
    }

    dataBinding {

M src/main/res/xml/preferences.xml => src/main/res/xml/preferences.xml +2 -2
@@ 89,7 89,7 @@
            android:title="@string/title_pref_quiet_hours">
            <intent
                android:action="android.intent.action.VIEW"
                android:targetPackage="eu.siacs.conversations"
                android:targetPackage="@string/applicationId"
                android:targetClass="eu.siacs.conversations.ui.SettingsActivity" >
                <extra android:name="page" android:value="quiet_hours" />
            </intent>


@@ 193,7 193,7 @@
            android:title="@string/pref_expert_options">
            <intent
                android:action="android.intent.action.VIEW"
                android:targetPackage="eu.siacs.conversations"
                android:targetPackage="@string/applicationId"
                android:targetClass="eu.siacs.conversations.ui.SettingsActivity" >
                <extra android:name="page" android:value="expert" />
            </intent>