stop settings from crashing when building with different package id
This commit is contained in:
parent
8d9d96d4e1
commit
5e7d1f7bcc
|
@ -72,6 +72,7 @@ android {
|
||||||
versionName "1.23.8"
|
versionName "1.23.8"
|
||||||
archivesBaseName += "-$versionName"
|
archivesBaseName += "-$versionName"
|
||||||
applicationId "eu.siacs.conversations"
|
applicationId "eu.siacs.conversations"
|
||||||
|
resValue "string", "applicationId", applicationId
|
||||||
}
|
}
|
||||||
|
|
||||||
dataBinding {
|
dataBinding {
|
||||||
|
|
|
@ -89,7 +89,7 @@
|
||||||
android:title="@string/title_pref_quiet_hours">
|
android:title="@string/title_pref_quiet_hours">
|
||||||
<intent
|
<intent
|
||||||
android:action="android.intent.action.VIEW"
|
android:action="android.intent.action.VIEW"
|
||||||
android:targetPackage="eu.siacs.conversations"
|
android:targetPackage="@string/applicationId"
|
||||||
android:targetClass="eu.siacs.conversations.ui.SettingsActivity" >
|
android:targetClass="eu.siacs.conversations.ui.SettingsActivity" >
|
||||||
<extra android:name="page" android:value="quiet_hours" />
|
<extra android:name="page" android:value="quiet_hours" />
|
||||||
</intent>
|
</intent>
|
||||||
|
@ -193,7 +193,7 @@
|
||||||
android:title="@string/pref_expert_options">
|
android:title="@string/pref_expert_options">
|
||||||
<intent
|
<intent
|
||||||
android:action="android.intent.action.VIEW"
|
android:action="android.intent.action.VIEW"
|
||||||
android:targetPackage="eu.siacs.conversations"
|
android:targetPackage="@string/applicationId"
|
||||||
android:targetClass="eu.siacs.conversations.ui.SettingsActivity" >
|
android:targetClass="eu.siacs.conversations.ui.SettingsActivity" >
|
||||||
<extra android:name="page" android:value="expert" />
|
<extra android:name="page" android:value="expert" />
|
||||||
</intent>
|
</intent>
|
||||||
|
|
Loading…
Reference in New Issue