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

Commit 092fe44a authored by Shuzhen Wang's avatar Shuzhen Wang Committed by Android (Google) Code Review
Browse files

Camera: set vendor_ops on camera metadata.

This makes sure that vendor specific metadata can propogate through
the framework.

Change-Id: I3bd0ae4b889eb907caf7b305dbcb16abbbef0ea3
parent 6bcdca03
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -109,7 +109,12 @@ status_t Camera2Device::initialize(camera_module_t *module)
                __FUNCTION__, mId, strerror(-res), res);
        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);
        return res;
    }
    setNotifyCallback(NULL);

    return OK;