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

Commit 7d203d62 authored by Tingting Wang's avatar Tingting Wang Committed by android-build-merger
Browse files

Merge "Show visible and non deleted editor view to Editor UI." into...

Merge "Show visible and non deleted editor view to Editor UI." into ub-contactsdialer-a-dev am: 62e6e4d8
am: 2338e44a

* commit '2338e44a':
  Show visible and non deleted editor view to Editor UI.
parents 41742adb 2338e44a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -53,12 +53,12 @@ public final class KindSectionData {
        return valuesDeltas == null ? new ArrayList<ValuesDelta>() : valuesDeltas;
    }

    /** Returns visible and non no-op ValuesDeltas for the data kind this section represents. */
    /** Returns visible and non deleted ValuesDeltas for the data kind this section represents. */
    public List<ValuesDelta> getVisibleValuesDeltas() {
        final ArrayList<ValuesDelta> valuesDeltas = new ArrayList<> ();
        for (ValuesDelta valuesDelta : getValuesDeltas()) {
            // Same conditions as KindSectionView#rebuildFromState
            if (valuesDelta.isVisible() && !valuesDelta.isNoop()) {
            if (valuesDelta.isVisible() && !valuesDelta.isDelete()) {
                valuesDeltas.add(valuesDelta);
            }
        }
+1 −1

File changed.

Contains only whitespace changes.