summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2009-06-12 18:59:25 -0700
committerJoe Onorato <joeo@android.com>2009-06-12 18:59:25 -0700
commit03f4df4b3bf8b8828e795a0bf1f913e6e08f12f1 (patch)
treea60622e11180c97d98c39c44949c6eb12585ed8b /core
parent1cf587496fcb1d652bab9fc6792fb106b6fefaa4 (diff)
downloadframeworks_base-03f4df4b3bf8b8828e795a0bf1f913e6e08f12f1.zip
frameworks_base-03f4df4b3bf8b8828e795a0bf1f913e6e08f12f1.tar.gz
frameworks_base-03f4df4b3bf8b8828e795a0bf1f913e6e08f12f1.tar.bz2
Fix the jni initializer.
Diffstat (limited to 'core')
-rw-r--r--core/jni/android_backup_BackupDataInput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android_backup_BackupDataInput.cpp b/core/jni/android_backup_BackupDataInput.cpp
index cb0ab5f..d8c2535 100644
--- a/core/jni/android_backup_BackupDataInput.cpp
+++ b/core/jni/android_backup_BackupDataInput.cpp
@@ -151,7 +151,7 @@ int register_android_backup_BackupDataInput(JNIEnv* env)
s_keyField = env->GetFieldID(clazz, "key", "Ljava/lang/String;");
LOG_FATAL_IF(s_keyField == NULL,
"Unable to find key field in android.backup.BackupDataInput.EntityHeader");
- s_dataSizeField = env->GetFieldID(clazz, "dataSize", "Ljava/lang/String;");
+ s_dataSizeField = env->GetFieldID(clazz, "dataSize", "I");
LOG_FATAL_IF(s_dataSizeField == NULL,
"Unable to find dataSize field in android.backup.BackupDataInput.EntityHeader");