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

Commit ff49479f authored by Ray Chin's avatar Ray Chin
Browse files

Fix checking on wrong variable causing CTS fail issue.

Bug: 320500446
Test: atest the two failing test on cf_x86_tv-staging-userdebug
Change-Id: I75344250763de453676cb2be2fb5f38d28fbd249
parent 5b4e13aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -967,7 +967,7 @@ void FilterClientCallbackImpl::onFilterStatus(const DemuxFilterStatus status) {
    ScopedLocalRef<jobject> filter(env);
    {
        android::Mutex::Autolock autoLock(mLock);
        if (env->IsSameObject(filter.get(), nullptr)) {
        if (env->IsSameObject(mFilterObj, nullptr)) {
            ALOGE("FilterClientCallbackImpl::onFilterStatus:"
                  "Filter object has been freed. Ignoring callback.");
            return;