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

Commit 06f992c6 authored by Dmitri Plotnikov's avatar Dmitri Plotnikov Committed by Android (Google) Code Review
Browse files

Merge "Setting copiedSize to 0 when value is null"

parents 7343bb5f 9480efef
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -133,6 +133,8 @@ public abstract class AbstractCursor implements CrossProcessCursor {
                result.getChars(0, result.length(), data, 0);
            }
            buffer.sizeCopied = result.length();
        } else {
            buffer.sizeCopied = 0;
        }
    }