diff options
author | Marco Nelissen <marcone@google.com> | 2013-12-20 14:09:22 -0800 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2014-01-08 17:19:45 +0000 |
commit | 8964cbbb508b21b5a1771644466e48d4a1247a9f (patch) | |
tree | b59cf505e87f700dd4a8e4cdf4e97f09f1b8b179 /cmds | |
parent | 7b925fbb87d7bfac17bf04e62ea786e96ee7e6d9 (diff) | |
download | frameworks_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.java | 2 |
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); |