Make change and version bump to AV1A.250627.001

Snap for 13708108 from 573fa0b628 to vic-widevine-partner-release

Change-Id: I8e358d2d4b431b11004ef54a64f28f772617319e
This commit is contained in:
Android Build Coastguard Worker
2025-06-27 14:25:19 -07:00
2 changed files with 16 additions and 1 deletions

View File

@@ -11,6 +11,7 @@
#include "log.h" #include "log.h"
#include <json/json.h> #include <json/json.h>
#include <sys/stat.h>
namespace { namespace {
// Please keep the order stable. // Please keep the order stable.
@@ -200,6 +201,20 @@ bool matchesSocModelPattern(const std::string& socModel) {
} }
bool checkIfEnableMultiThreadBinder() { bool checkIfEnableMultiThreadBinder() {
// On first boot, the /data/vendor/mediadrm path may not have been created
// by init yet. Calling QueryStatus at this stage would fail because the L3
// service cannot initialize its filesystem, leading to a persistent error
// state. This check defers enabling multi-threading until the basic DRM
// filesystem is ready. b/425974655.
const char* kMediaDrmPath = "/data/vendor/mediadrm";
struct stat sb;
// check if the MediaDRM path exists and is a directory
if (stat(kMediaDrmPath, &sb) != 0 || !S_ISDIR(sb.st_mode)) {
LOGW("MediaDRM path does not exist, deferring multi-thread binder check.");
return false;
}
android::sp<wvcdm::WvContentDecryptionModule> cdm = wvdrm::getCDM(); android::sp<wvcdm::WvContentDecryptionModule> cdm = wvdrm::getCDM();
if (cdm == nullptr) { if (cdm == nullptr) {
LOGW("Failed to get CDM when checking if multi-thread binder is enabled."); LOGW("Failed to get CDM when checking if multi-thread binder is enabled.");

View File

@@ -1 +1 @@
AV1A.250618.002 AV1A.250627.001