aboutsummaryrefslogtreecommitdiff
path: root/autofill-parser
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-05-05 08:47:15 +0530
committerGitHub <noreply@github.com>2022-05-05 03:17:15 +0000
commit41213da780910777cacc0c7fd5660ada2f69bf00 (patch)
tree6e3c11ebe383c07e40bbb0580be7cd936995310e /autofill-parser
parent7c035aa0426dbe4d658cd9021ce2748ca630bacf (diff)
Upgrade to ktfmt 0.37 (#1897)
Diffstat (limited to 'autofill-parser')
-rw-r--r--autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/AutofillFormParser.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/AutofillFormParser.kt b/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/AutofillFormParser.kt
index 66205bbc..e7b04f56 100644
--- a/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/AutofillFormParser.kt
+++ b/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/AutofillFormParser.kt
@@ -166,7 +166,8 @@ private class AutofillFormParser(
// reported web origin if no other web origin appears on the page.
webOriginToFormOrigin(context, webOrigins.singleOrNull() ?: return null)
}
- BrowserMultiOriginMethod.WebView, BrowserMultiOriginMethod.Field -> {
+ BrowserMultiOriginMethod.WebView,
+ BrowserMultiOriginMethod.Field -> {
// Security assumption: For browsers with full autofill support (the `Field` case),
// every form field is annotated with its origin. For browsers based on WebView,
// this is true after the web origins of WebViews are passed down to their children.