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

Commit 429b739f authored by Yifan Hong's avatar Yifan Hong Committed by android-build-merger
Browse files

Merge "Log errors on android.os.VintfObject.verify()" am: 54b1e9c5

am: 90a5fd05

Change-Id: I6b96299e8480a7cdd64e6c3ca8ac1e3946971000
parents 9cd4a897 90a5fd05
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;
}