From 9a1a54a6fcfa6fd6cf142f2af9804375255d14cf Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 2 Oct 2019 11:00:45 +0530 Subject: Initial biometric authentication support (#541) * [WIP] Initial biometric authentication support * Redirect decryption app shortcut to go through LaunchActivity * UserPreference: Clear existing shortcuts when toggling password auth Clears out any auth-bypassed entries that exist * Fix hilarious copypasta derp Signed-off-by: Harsh Shandilya --- app/build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/build.gradle.kts') diff --git a/app/build.gradle.kts b/app/build.gradle.kts index c1ea485e..e65cb285 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -71,12 +71,14 @@ android { dependencies { implementation("androidx.appcompat:appcompat:1.1.0") implementation("androidx.cardview:cardview:1.0.0") + implementation("androidx.core:core-ktx:1.2.0-alpha04") implementation("androidx.constraintlayout:constraintlayout:2.0.0-beta2") implementation("androidx.documentfile:documentfile:1.0.1") implementation("androidx.preference:preference:1.1.0") implementation("androidx.recyclerview:recyclerview:1.1.0-beta04") implementation("com.google.android.material:material:1.1.0-alpha10") implementation("androidx.annotation:annotation:1.1.0") + implementation("androidx.biometric:biometric:1.0.0-beta02") implementation("org.sufficientlysecure:openpgp-api:12.0") implementation("org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r") { exclude(group = "org.apache.httpcomponents", module = "httpclient") @@ -106,7 +108,7 @@ tasks { withType { kotlinOptions { jvmTarget = "1.8" - freeCompilerArgs += "-Xnew-inference" + freeCompilerArgs = freeCompilerArgs + "-Xnew-inference" } } } -- cgit v1.2.3