Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 89b47f6

Browse files
committed
fix(autofill): fall back to remote views when inline presentations are unavailable
Fixes #2290
1 parent d409d8c commit 89b47f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/src/main/java/app/passwordstore/util/autofill/Api30AutofillResponseBuilder.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,11 @@ constructor(
106106
val inlinePresentation = makeInlinePresentation(context, imeSpec, metadata)
107107
if (inlinePresentation != null) {
108108
presentationsBuilder.setInlinePresentation(inlinePresentation)
109+
} else {
110+
presentationsBuilder.setMenuPresentation(makeRemoteView(context, metadata))
109111
}
112+
} else {
113+
presentationsBuilder.setMenuPresentation(makeRemoteView(context, metadata))
110114
}
111115
val presentations = presentationsBuilder.build()
112116
return Dataset.Builder(presentations).run {

0 commit comments

Comments
 (0)