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

Commit 54b1e9c5 authored by Yifan Hong's avatar Yifan Hong Committed by Gerrit Code Review
Browse files

Merge "Log errors on android.os.VintfObject.verify()"

parents 6ba38290 87167afe
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -102,7 +102,10 @@ static jint android_os_VintfObject_verify(JNIEnv* env, jclass, jobjectArray pack
        cPackageInfo[i] = cString;
        env->ReleaseStringUTFChars(element, cString);
    }
    int32_t status = VintfObject::CheckCompatibility(cPackageInfo);
    std::string error;
    int32_t status = VintfObject::CheckCompatibility(cPackageInfo, &error);
    if (status)
        LOG(WARNING) << "VintfObject.verify() returns " << status << ": " << error;
    return status;
}