Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24c8ace4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Log no save ui reason if no dataset set." into tm-dev am: 30929167...

Merge "Log no save ui reason if no dataset set." into tm-dev am: 30929167 am: a2c9e9cd am: 48ff5914

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18349262



Change-Id: I1db33c043bfe285f5e22bc65248aad67f7bafb55
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 56300074 48ff5914
Loading
Loading
Loading
Loading
+1 −10
Original line number Original line Diff line number Diff line
@@ -1965,15 +1965,6 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
                }
                }
            }
            }
        }
        }
        final AutofillId[] fieldClassificationIds = lastResponse.getFieldClassificationIds();

        if (!hasAtLeastOneDataset && fieldClassificationIds == null) {
            if (sVerbose) {
                Slog.v(TAG, "logContextCommittedLocked(): skipped (no datasets nor fields "
                        + "classification ids)");
            }
            return;
        }


        for (int i = 0; i < mViewStates.size(); i++) {
        for (int i = 0; i < mViewStates.size(); i++) {
            final ViewState viewState = mViewStates.valueAt(i);
            final ViewState viewState = mViewStates.valueAt(i);
@@ -2022,6 +2013,7 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
                        }
                        }
                        continue;
                        continue;
                    }
                    }

                    // Check if value match a dataset.
                    // Check if value match a dataset.
                    if (hasAtLeastOneDataset) {
                    if (hasAtLeastOneDataset) {
                        for (int j = 0; j < responseCount; j++) {
                        for (int j = 0; j < responseCount; j++) {
@@ -2078,7 +2070,6 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
                            } // else
                            } // else
                        } // for j
                        } // for j
                    }
                    }

                } // else
                } // else
            } // else
            } // else
        }
        }