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

Commit 9480efef authored by Dmitri Plotnikov's avatar Dmitri Plotnikov
Browse files

Setting copiedSize to 0 when value is null

Bug: 3457998
Change-Id: I01f6d02e76884639600c679518c5817ce73e0f23
parent e88b2af8
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;
        }
    }