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

Commit ce765a74 authored by Henry Fang's avatar Henry Fang Committed by Gerrit Code Review
Browse files

Merge "DO NOT MERGE ANYWHERE: Do nullptr check on source filter"

parents 769fc70b a92470c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3094,7 +3094,7 @@ static jint android_media_tv_Tuner_set_filter_data_source(
        r = iFilterSp->setDataSource(NULL);
    } else {
        sp<IFilter> srcSp = getFilter(env, srcFilter)->getIFilter();
        if (iFilterSp == NULL) {
        if (srcSp == NULL) {
            ALOGD("Failed to set filter data source: src filter not found");
            return (jint) Result::INVALID_ARGUMENT;
        }