commit | 06f992c6b0955b63f46b0c58b204e39a5ab2ac00 | [log] [tgz] |
---|---|---|
author | Dmitri Plotnikov <dplotnikov@google.com> | Wed Feb 16 13:15:15 2011 -0800 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Feb 16 13:15:15 2011 -0800 |
tree | d2d9a79b9c7a953764f95111fe11f5151ec6d560 | |
parent | 7343bb5f1d6441a882423dd8b17e3029d2178514 [diff] | |
parent | 9480efeff7d6d7054e4d048c6088b7329376aa1d [diff] |
Merge "Setting copiedSize to 0 when value is null"
diff --git a/core/java/android/database/AbstractCursor.java b/core/java/android/database/AbstractCursor.java index bfaeb82..3ffc714 100644 --- a/core/java/android/database/AbstractCursor.java +++ b/core/java/android/database/AbstractCursor.java
@@ -133,6 +133,8 @@ result.getChars(0, result.length(), data, 0); } buffer.sizeCopied = result.length(); + } else { + buffer.sizeCopied = 0; } }