summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/autofill/java/com/android/server/autofill/ui/DialogFillUi.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/services/autofill/java/com/android/server/autofill/ui/DialogFillUi.java b/services/autofill/java/com/android/server/autofill/ui/DialogFillUi.java
index e1229939e2ca..75d9b7eeecbc 100644
--- a/services/autofill/java/com/android/server/autofill/ui/DialogFillUi.java
+++ b/services/autofill/java/com/android/server/autofill/ui/DialogFillUi.java
@@ -275,12 +275,10 @@ final class DialogFillUi {
if (index >= 0) {
RemoteViews presentation = dataset.getFieldDialogPresentation(index);
if (presentation == null) {
- Slog.w(TAG, "fallback to presentation");
- presentation = dataset.getFieldPresentation(index);
- }
- if (presentation == null) {
- Slog.w(TAG, "not displaying UI on field " + focusedViewId + " because "
- + "service didn't provide a presentation for it on " + dataset);
+ if (sDebug) {
+ Slog.w(TAG, "not displaying UI on field " + focusedViewId + " because "
+ + "service didn't provide a presentation for it on " + dataset);
+ }
continue;
}
final View view;