Show only dialog presentations in the fill dialog
Remove fallback to dropdown presentation if there is no dialog presentation. So the fill dialog will only shows suggestions that is exactly set a dialog presentation. Bug: 219956625 Test: Manual Change-Id: I5665e98b17dc2dcff252af3579a69e9a832f8385
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user