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

Commit 947237f6 authored by Ruben Brunk's avatar Ruben Brunk
Browse files

camera3: Remove old vendor tag ops dependencies.

Bug: 12134423
Change-Id: I7acdf76d4c0674bdb1cc939592d4620687c785c3
parent e1445da7
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -112,20 +112,6 @@ status_t Camera2Device::initialize(camera_module_t *module)
        return res;
    }

    res = device->ops->get_metadata_vendor_tag_ops(device, &mVendorTagOps);
    if (res != OK ) {
        ALOGE("%s: Camera %d: Unable to retrieve tag ops from device: %s (%d)",
                __FUNCTION__, mId, strerror(-res), res);
        device->common.close(&device->common);
        return res;
    }
    res = set_camera_metadata_vendor_tag_ops(mVendorTagOps);
    if (res != OK) {
        ALOGE("%s: Camera %d: Unable to set tag ops: %s (%d)",
            __FUNCTION__, mId, strerror(-res), res);
        device->common.close(&device->common);
        return res;
    }
    res = device->ops->set_notify_callback(device, notificationCallback,
            NULL);
    if (res != OK) {
+0 −1
Original line number Diff line number Diff line
@@ -78,7 +78,6 @@ class Camera2Device: public CameraDeviceBase {
    camera2_device_t *mHal2Device;

    CameraMetadata mDeviceInfo;
    vendor_tag_query_ops_t *mVendorTagOps;

    /**
     * Queue class for both sending requests to a camera2 device, and for