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

Commit 7fbc087b authored by Jeff Tinker's avatar Jeff Tinker Committed by Android (Google) Code Review
Browse files

Merge "Revert "Fix missing check of hidl return status""

parents 8913f5f7 b2b66fa4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -252,9 +252,9 @@ DrmHal::DrmHal()

void DrmHal::closeOpenSessions() {
    if (mPlugin != NULL) {
        auto openSessions = mOpenSessions;
        for (size_t i = 0; i < openSessions.size(); i++) {
            closeSession(openSessions[i]);
        for (size_t i = 0; i < mOpenSessions.size(); i++) {
            mPlugin->closeSession(toHidlVec(mOpenSessions[i]));
            DrmSessionManager::Instance()->removeSession(mOpenSessions[i]);
        }
    }
    mOpenSessions.clear();