From 426fc924fba28ec898681ad7f7010456554f061e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 9 Jun 2022 13:51:29 +0530 Subject: Upgrade ktfmt (#1942) * build-logic: upgrade ktfmt * all: reformat --- .../androidpasswordstore/autofillparser/FeatureAndTrustDetection.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'autofill-parser') diff --git a/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FeatureAndTrustDetection.kt b/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FeatureAndTrustDetection.kt index 66332a4f..58f400ef 100644 --- a/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FeatureAndTrustDetection.kt +++ b/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/FeatureAndTrustDetection.kt @@ -230,8 +230,10 @@ private fun getBrowserAutofillSupportLevel( browserInfo.saveFlags == null -> BrowserAutofillSupportLevel.GeneralFill else -> BrowserAutofillSupportLevel.GeneralFillAndSave }.takeUnless { supportLevel -> - // On Android Oreo, only browsers with native Autofill support can be used with Password Store - // (compatibility mode is only available on Android Pie and higher). Since all known browsers + // On Android Oreo, only browsers with native Autofill support can be used with Password + // Store + // (compatibility mode is only available on Android Pie and higher). Since all known + // browsers // with native Autofill support offer full save support as well, we reuse the list of those // browsers here. supportLevel != BrowserAutofillSupportLevel.GeneralFillAndSave && Build.VERSION.SDK_INT < 28 -- cgit v1.2.3