mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
universal7885: Make shim link against provider
Also remove unused methods in shim
This commit is contained in:
parent
688fdd42c8
commit
5ad98e1963
2 changed files with 1 additions and 9 deletions
|
|
@ -37,6 +37,7 @@ cc_binary {
|
|||
"libhidlbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libcorrectcamera",
|
||||
],
|
||||
static_libs: [
|
||||
"android.hardware.camera.common@1.0-helper",
|
||||
|
|
|
|||
|
|
@ -42,11 +42,6 @@ Return<void> CameraDevice::getCameraCharacteristics(
|
|||
return Void();
|
||||
}
|
||||
|
||||
Return<void> CameraDevice::getEurekaCharacteristics(
|
||||
ICameraDevice::getCameraCharacteristics_cb _hidl_cb) {
|
||||
return CameraDevice::getCameraCharacteristics(_hidl_cb);
|
||||
}
|
||||
|
||||
Return<void> CameraDevice::open(const sp<ICameraDeviceCallback> &callback,
|
||||
ICameraDevice::open_cb _hidl_cb) {
|
||||
Status status = initStatus();
|
||||
|
|
@ -151,10 +146,6 @@ Return<void> CameraDevice::open(const sp<ICameraDeviceCallback> &callback,
|
|||
_hidl_cb(status, session->getInterface());
|
||||
return Void();
|
||||
}
|
||||
Return<void> CameraDevice::nuke(const sp<ICameraDeviceCallback> &callback,
|
||||
ICameraDevice::open_cb _hidl_cb) {
|
||||
return CameraDevice::open(callback, _hidl_cb);
|
||||
}
|
||||
} // namespace implementation
|
||||
} // namespace V3_2
|
||||
} // namespace device
|
||||
|
|
|
|||
Loading…
Reference in a new issue