mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 06:15:48 +00:00
fix(autofill): fall back to remote views when inline presentations are unavailable
Fixes #2290
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user