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

Commit bb907e88 authored by Robert Shih's avatar Robert Shih
Browse files

IDrm: fix uninitialized variable in GET_OFFLINE_LICENSE_STATE

Bug: 146052771
Test: drmServicePoc
Change-Id: Ia34b9af4b6591812efcba0d9b67348c8b9a4dd3a
Merged-In: I8e409e7048c9058f2d91ad2d467131f49e378259
parent 01102840
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);