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

Commit 01d00e3e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix nullptr check"

parents 41db41ad 9d653056
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1288,7 +1288,7 @@ static jint convertAudioProfileFromNative(JNIEnv *env, jobject *jAudioProfile,
                           audioFormatFromNative(nAudioProfile->format), jSamplingRates.get(),
                           jChannelMasks.get(), jChannelIndexMasks.get(), encapsulationType);

    if (jAudioProfile == nullptr) {
    if (*jAudioProfile == nullptr) {
        return AUDIO_JAVA_ERROR;
    }