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

Commit 296efaa6 authored by Devin Moore's avatar Devin Moore Committed by Android (Google) Code Review
Browse files

Merge "Deprecate HIDL cameraservice"

parents 2ddd5362 a1350e74
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
<manifest version="1.0" type="framework">
    <hal>
    <hal format="hidl" max-level="7">
        <name>android.frameworks.cameraservice.service</name>
        <transport>hwbinder</transport>
        <version>2.2</version>
+2 −1
Original line number Diff line number Diff line
@@ -194,7 +194,8 @@ void CameraService::onFirstRef()
    mAppOps.setCameraAudioRestriction(mAudioRestriction);
    sp<HidlCameraService> hcs = HidlCameraService::getInstance(this);
    if (hcs->registerAsService() != android::OK) {
        ALOGE("%s: Failed to register default android.frameworks.cameraservice.service@1.0",
        // Deprecated, so it will fail to register on newer devices
        ALOGW("%s: Did not register default android.frameworks.cameraservice.service@2.2",
              __FUNCTION__);
    }