Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3cb78498 authored by Robert Shih's avatar Robert Shih
Browse files

android_media_MediaMuxer_setLocation: amended signature.

Change parameter `nativeObject` from type `jint` to `jlong` to match its JNI
signature.

Bug: 12890910
Change-Id: I7feb7fa5c3eccc07f2d1bc733b7d4b3a3b52e292
parent 11579e55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@ static void android_media_MediaMuxer_setOrientationHint(
}

static void android_media_MediaMuxer_setLocation(
        JNIEnv *env, jclass clazz, jint nativeObject, jint latitude, jint longitude) {
        JNIEnv *env, jclass clazz, jlong nativeObject, jint latitude, jint longitude) {
    MediaMuxer* muxer = reinterpret_cast<MediaMuxer *>(nativeObject);

    status_t res = muxer->setLocation(latitude, longitude);