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"
|
||||
archivesBaseName += "-$versionName"
|
||||
applicationId "eu.siacs.conversations"
|
||||
resValue "string", "applicationId", applicationId
|
||||
}
|
||||
|
||||
dataBinding {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue