summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2014-01-08 22:22:26 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-01-08 22:22:27 +0000
commit3de2377d7abb6afcca8acb9a927a25dc99056141 (patch)
treeee7e51af88cbd4f023f9dd297a9c4551d3c4dc38 /cmds
parent2dfae9bea104c0594fd5641f9704f34b204abd87 (diff)
parent8964cbbb508b21b5a1771644466e48d4a1247a9f (diff)
downloadframeworks_base-3de2377d7abb6afcca8acb9a927a25dc99056141.zip
frameworks_base-3de2377d7abb6afcca8acb9a927a25dc99056141.tar.gz
frameworks_base-3de2377d7abb6afcca8acb9a927a25dc99056141.tar.bz2
Merge "sqlite integer fields are long"
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);