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

Commit 2c652db6 authored by Robert Shih's avatar Robert Shih Committed by Android (Google) Code Review
Browse files

Merge "IDrm: fix uninitialized variable in GET_OFFLINE_LICENSE_STATE" into qt-qpr1-dev

parents ae2c6053 bb907e88
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1071,6 +1071,7 @@ status_t BnDrm::onTransact(
            Vector<uint8_t> keySetId;
            readVector(data, keySetId);
            DrmPlugin::OfflineLicenseState state;
            state = DrmPlugin::OfflineLicenseState::kOfflineLicenseStateUnknown;
            status_t result = getOfflineLicenseState(keySetId, &state);
            reply->writeInt32(static_cast<DrmPlugin::OfflineLicenseState>(state));
            reply->writeInt32(result);