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

Commit 9707ffaf authored by Dan Albert's avatar Dan Albert Committed by Android Git Automerger
Browse files

am fd7e0440: Merge "Check for NULL before calling asBinder()."

* commit 'fd7e0440':
  Check for NULL before calling asBinder().
parents 5f3cae81 fd7e0440
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -148,7 +148,8 @@ status_t BpDrmManagerService::setDrmServiceListener(

    data.writeInterfaceToken(IDrmManagerService::getInterfaceDescriptor());
    data.writeInt32(uniqueId);
    data.writeStrongBinder(drmServiceListener->asBinder());
    data.writeStrongBinder(
        drmServiceListener != NULL ? drmServiceListener->asBinder() : NULL);
    remote()->transact(SET_DRM_SERVICE_LISTENER, data, &reply);
    return reply.readInt32();
}