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

Commit de1fb0bb authored by rago's avatar rago Committed by android-build-merger
Browse files

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

am: addb7af2

Change-Id: I1ec6f29ee51d575002a50b305c2ac4a87afc5c3e
parents 80c36e29 addb7af2
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);