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

Commit addb7af2 authored by rago's avatar rago
Browse files

resolve merge conflicts of a80bdc38 to nyc-mr1-dev-plus-aosp

Change-Id: If5b6322e611cc1171f767d48001d9672bfd0024d
parents 0342e056 a80bdc38
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -435,14 +435,12 @@ setup_failure:

// ----------------------------------------------------------------------------
static void android_media_visualizer_native_release(JNIEnv *env,  jobject thiz) {
    // ensure that lpVisualizer is deleted before lpJniStorage
    {
    { //limit scope so that lpVisualizer is deleted before JNI storage data.
        sp<Visualizer> lpVisualizer = setVisualizer(env, thiz, 0);
        if (lpVisualizer == 0) {
            return;
        }
    }

    // delete the JNI data
    VisualizerJniStorage* lpJniStorage =
        (VisualizerJniStorage *)env->GetLongField(thiz, fields.fidJniData);