From 8964cbbb508b21b5a1771644466e48d4a1247a9f Mon Sep 17 00:00:00 2001 From: Marco Nelissen Date: Fri, 20 Dec 2013 14:09:22 -0800 Subject: sqlite integer fields are long Change-Id: I350ccfe91af707cfc234bead9341d68b55623d7b --- cmds/content/src/com/android/commands/content/Content.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds/content/src/com') diff --git a/cmds/content/src/com/android/commands/content/Content.java b/cmds/content/src/com/android/commands/content/Content.java index e66bdf4..466dcd4 100644 --- a/cmds/content/src/com/android/commands/content/Content.java +++ b/cmds/content/src/com/android/commands/content/Content.java @@ -498,7 +498,7 @@ public class Content { columnValue = String.valueOf(cursor.getFloat(columnIndex)); break; case Cursor.FIELD_TYPE_INTEGER: - columnValue = String.valueOf(cursor.getInt(columnIndex)); + columnValue = String.valueOf(cursor.getLong(columnIndex)); break; case Cursor.FIELD_TYPE_STRING: columnValue = cursor.getString(columnIndex); -- cgit v1.1