Merge "Show only dialog presentations in the fill dialog"

This commit is contained in:
TreeHugger Robot
2022-02-17 16:11:20 +00:00
committed by Android (Google) Code Review

View File

@@ -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;