1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-24 16:53:37 +00:00

Updated AndroidX

This commit is contained in:
M66B 2020-08-20 18:54:56 +02:00
parent c5eb18ed80
commit f52d3ccadf
2 changed files with 8 additions and 8 deletions

View file

@ -210,9 +210,9 @@ configurations.all {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
def core_version = "1.5.0-alpha01"
def appcompat_version = "1.3.0-alpha01"
def fragment_version = "1.3.0-alpha07"
def core_version = "1.5.0-alpha02"
def appcompat_version = "1.3.0-alpha02"
def fragment_version = "1.3.0-alpha08"
def recyclerview_version = "1.2.0-alpha05"
def coordinatorlayout_version = "1.1.0"
def constraintlayout_version = "2.0.0-beta3" // 2.0.0-beta8
@ -221,14 +221,14 @@ dependencies {
def lbm_version = "1.0.0"
def swiperefresh_version = "1.2.0-alpha01"
def documentfile_version = "1.0.1"
def lifecycle_version = "2.2.0" // 2.3.0-alpha06
def lifecycle_version = "2.2.0" // 2.3.0-alpha07
def sqlite_version = "2.1.0"
def room_version = "2.2.5" // 2.3.0-alpha02
def paging_version = "2.1.2" // 3.0.0-alpha03
def preference_version = "1.1.1"
def work_version = "2.4.0"
def exif_version = "1.3.0-alpha01"
def biometric_version = "1.0.1" // https://issuetracker.google.com/issues/159983244
def work_version = "2.5.0-alpha01"
def exif_version = "1.3.0-beta01"
def biometric_version = "1.1.0-alpha02" // https://issuetracker.google.com/issues/159983244
def textclassifier_version = "1.0.0-alpha03"
def billingclient_version = "3.0.0"
def javamail_version = "1.6.5"

View file

@ -1231,7 +1231,7 @@ public class Helper {
return true;
BiometricManager bm = BiometricManager.from(context);
return (bm.canAuthenticate() == BiometricManager.BIOMETRIC_SUCCESS);
return (bm.canAuthenticate(BiometricManager.Authenticators.BIOMETRIC_WEAK) == BiometricManager.BIOMETRIC_SUCCESS);
}
static boolean shouldAuthenticate(Context context) {