aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-11-08 12:54:50 +0530
committerGitHub <noreply@github.com>2019-11-08 12:54:50 +0530
commite4eaae37eb419a7b2f381bc4a9d972f14a70dd32 (patch)
treeeee9e32e4594c2866c969983f4657c4d678ae083 /app
parent6ab66f9f0e8cc7db46384462276c47128de32f98 (diff)
parent67160f50d16e725a1464214da2d4a43ef671f10e (diff)
Re-add OpenPgpAppPreference (#564)
Re-add OpenPgpAppPreference
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle6
-rw-r--r--app/src/main/res/xml/preference.xml4
2 files changed, 6 insertions, 4 deletions
diff --git a/app/build.gradle b/app/build.gradle
index d49ffd43..4565a00d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -10,6 +10,10 @@ plugins {
id 'kotlin-android-extensions'
}
+repositories {
+ maven { url 'https://jitpack.io' }
+}
+
android {
defaultConfig {
applicationId 'com.zeapo.pwdstore'
@@ -76,7 +80,7 @@ dependencies {
implementation 'com.google.android.material:material:' + versions.material
implementation 'androidx.annotation:annotation:' + versions.annotation
implementation 'androidx.biometric:biometric:' + versions.biometric
- implementation 'org.sufficientlysecure:openpgp-api:' + versions.openpgp
+ implementation 'com.github.msfjarvis:openpgp-api:' + versions.openpgp
implementation('org.eclipse.jgit:org.eclipse.jgit:' + versions.jgit) {
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
}
diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml
index 25026517..6ac317ad 100644
--- a/app/src/main/res/xml/preference.xml
+++ b/app/src/main/res/xml/preference.xml
@@ -40,11 +40,9 @@
</androidx.preference.PreferenceCategory>
<androidx.preference.PreferenceCategory android:title="@string/pref_crypto_title">
- <!-- TODO(msf): Update the damn library and re-enable this
- <org.openintents.openpgp.util.OpenPgpAppPreference
+ <org.openintents.openpgp.util.OpenPgpAppPreference2
android:key="openpgp_provider_list"
android:title="@string/pref_provider_title" />
- -->
<androidx.preference.Preference
android:key="openpgp_key_id_pref"
android:title="@string/pref_key_title" />