From 1d13a1fbd6580c0d28c90579ade96e0a93e17c92 Mon Sep 17 00:00:00 2001 From: Fabian Henneke Date: Mon, 2 Nov 2020 20:25:37 +0100 Subject: Improve Autofill UI and enable inline presentations (#1181) * Improve Autofill UI and enable inline presentations Improves the Autofill UI in the following ways: * Add support for Android 11 inline presentations of Autofill datasets. * Instead of showing the identifier (app name or web origin) of the current app on top of every Autofill dataset, it is now shown 1) as a header dataset on Android 9 and 10 as well as 2) at the top of the search activity on all supported versions of Android. Rationale: The identifier is only used in trust decisions when choosing an existing entry to fill and should feature prominently in that view, not elsewhere. * Show the actual identifier part of a matched entry's path, which may differ from the identifier of the matched app/website. * Slightly tweak the labels of Search/Generate Autofill actions to indicate that a) this is about entries and b) the user may skip the generation of a password and supply a custom one as well. * Suppress lint error * Address review comments * Add a fixme about properly handling fill-in datasets * CHANGELOG: add entry for inline presentation Signed-off-by: Harsh Shandilya * Remove unused parameter Signed-off-by: Harsh Shandilya Co-authored-by: Harsh Shandilya --- app/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) (limited to 'app/build.gradle.kts') diff --git a/app/build.gradle.kts b/app/build.gradle.kts index e56ebd52..87e436a0 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -89,6 +89,7 @@ dependencies { compileOnly(Dependencies.AndroidX.annotation) implementation(Dependencies.AndroidX.activity_ktx) implementation(Dependencies.AndroidX.appcompat) + implementation(Dependencies.AndroidX.autofill) implementation(Dependencies.AndroidX.biometric) implementation(Dependencies.AndroidX.constraint_layout) implementation(Dependencies.AndroidX.core_ktx) -- cgit v1.2.3