summaryrefslogtreecommitdiffstats
path: root/media/jni/android_media_MediaHTTPConnection.cpp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-03-20 11:23:29 -0700
committerColin Cross <ccross@android.com>2014-03-20 11:23:29 -0700
commit7acd69be86b77d27759fa312a78fd0be26ee1ab2 (patch)
tree1893e056fdadd641917c800826ad2609949d6643 /media/jni/android_media_MediaHTTPConnection.cpp
parent8f1b19488787c98244da5ae32299a153566188ec (diff)
downloadframeworks_base-7acd69be86b77d27759fa312a78fd0be26ee1ab2.zip
frameworks_base-7acd69be86b77d27759fa312a78fd0be26ee1ab2.tar.gz
frameworks_base-7acd69be86b77d27759fa312a78fd0be26ee1ab2.tar.bz2
MediaHTTPConnection: fix JNI signature
mNativeContext was changed to a long, fix the GetFieldID signature Change-Id: Ib19605d2c534a2aea7d75ab105349710905d716f
Diffstat (limited to 'media/jni/android_media_MediaHTTPConnection.cpp')
-rw-r--r--media/jni/android_media_MediaHTTPConnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/jni/android_media_MediaHTTPConnection.cpp b/media/jni/android_media_MediaHTTPConnection.cpp
index da3f74d..0e7d83e 100644
--- a/media/jni/android_media_MediaHTTPConnection.cpp
+++ b/media/jni/android_media_MediaHTTPConnection.cpp
@@ -106,7 +106,7 @@ static void android_media_MediaHTTPConnection_native_init(JNIEnv *env) {
env, env->FindClass("android/media/MediaHTTPConnection"));
CHECK(clazz.get() != NULL);
- gFields.context = env->GetFieldID(clazz.get(), "mNativeContext", "I");
+ gFields.context = env->GetFieldID(clazz.get(), "mNativeContext", "J");
CHECK(gFields.context != NULL);
gFields.readAtMethodID = env->GetMethodID(clazz.get(), "readAt", "(J[BI)I");