fix(autofill): fall back to remote views when inline presentations are unavailable
Fixes #2290
This commit is contained in:
parent
d409d8c2d5
commit
89b47f6ae8
1 changed files with 4 additions and 0 deletions
|
@ -106,7 +106,11 @@ constructor(
|
|||
val inlinePresentation = makeInlinePresentation(context, imeSpec, metadata)
|
||||
if (inlinePresentation != null) {
|
||||
presentationsBuilder.setInlinePresentation(inlinePresentation)
|
||||
} else {
|
||||
presentationsBuilder.setMenuPresentation(makeRemoteView(context, metadata))
|
||||
}
|
||||
} else {
|
||||
presentationsBuilder.setMenuPresentation(makeRemoteView(context, metadata))
|
||||
}
|
||||
val presentations = presentationsBuilder.build()
|
||||
return Dataset.Builder(presentations).run {
|
||||
|
|
Loading…
Reference in a new issue