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

Commit 0623c27f authored by Jeff Tinker's avatar Jeff Tinker Committed by android-build-merger
Browse files

DO NOT MERGE Move legacy widevine classic global lock from framework to...

DO NOT MERGE Move legacy widevine classic global lock from framework to vendor/widevine implementation.
am: 08dbccd2

Change-Id: Ic152c07bc890fa73dea0b53d7a9ca9dbf29d3224
parents b20b027d 08dbccd2
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -42,13 +42,9 @@ void *gVendorLibHandle = NULL;

namespace android {

static Mutex gWVMutex;

WVMExtractor::WVMExtractor(const sp<DataSource> &source)
    : mDataSource(source)
{
    Mutex::Autolock autoLock(gWVMutex);

    if (!getVendorLibHandle()) {
        return;
    }
@@ -169,8 +165,6 @@ bool SniffWVM(
    const sp<DataSource> &source, String8 *mimeType, float *confidence,
        sp<AMessage> *) {

    Mutex::Autolock autoLock(gWVMutex);

    if (!WVMExtractor::getVendorLibHandle()) {
        return false;
    }