summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2013-12-20 14:09:22 -0800
committerMarco Nelissen <marcone@google.com>2014-01-08 17:19:45 +0000
commit8964cbbb508b21b5a1771644466e48d4a1247a9f (patch)
treeb59cf505e87f700dd4a8e4cdf4e97f09f1b8b179 /cmds
parent7b925fbb87d7bfac17bf04e62ea786e96ee7e6d9 (diff)
downloadframeworks_base-8964cbbb508b21b5a1771644466e48d4a1247a9f.zip
frameworks_base-8964cbbb508b21b5a1771644466e48d4a1247a9f.tar.gz
frameworks_base-8964cbbb508b21b5a1771644466e48d4a1247a9f.tar.bz2
sqlite integer fields are long
Change-Id: I350ccfe91af707cfc234bead9341d68b55623d7b
Diffstat (limited to 'cmds')
-rw-r--r--cmds/content/src/com/android/commands/content/Content.java2
1 files changed, 1 insertions, 1 deletions
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);