mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35: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",
|
"libhidlbase",
|
||||||
"liblog",
|
"liblog",
|
||||||
"libutils",
|
"libutils",
|
||||||
|
"libcorrectcamera",
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.camera.common@1.0-helper",
|
"android.hardware.camera.common@1.0-helper",
|
||||||
|
|
|
||||||
|
|
@ -42,11 +42,6 @@ Return<void> CameraDevice::getCameraCharacteristics(
|
||||||
return Void();
|
return Void();
|
||||||
}
|
}
|
||||||
|
|
||||||
Return<void> CameraDevice::getEurekaCharacteristics(
|
|
||||||
ICameraDevice::getCameraCharacteristics_cb _hidl_cb) {
|
|
||||||
return CameraDevice::getCameraCharacteristics(_hidl_cb);
|
|
||||||
}
|
|
||||||
|
|
||||||
Return<void> CameraDevice::open(const sp<ICameraDeviceCallback> &callback,
|
Return<void> CameraDevice::open(const sp<ICameraDeviceCallback> &callback,
|
||||||
ICameraDevice::open_cb _hidl_cb) {
|
ICameraDevice::open_cb _hidl_cb) {
|
||||||
Status status = initStatus();
|
Status status = initStatus();
|
||||||
|
|
@ -151,10 +146,6 @@ Return<void> CameraDevice::open(const sp<ICameraDeviceCallback> &callback,
|
||||||
_hidl_cb(status, session->getInterface());
|
_hidl_cb(status, session->getInterface());
|
||||||
return Void();
|
return Void();
|
||||||
}
|
}
|
||||||
Return<void> CameraDevice::nuke(const sp<ICameraDeviceCallback> &callback,
|
|
||||||
ICameraDevice::open_cb _hidl_cb) {
|
|
||||||
return CameraDevice::open(callback, _hidl_cb);
|
|
||||||
}
|
|
||||||
} // namespace implementation
|
} // namespace implementation
|
||||||
} // namespace V3_2
|
} // namespace V3_2
|
||||||
} // namespace device
|
} // namespace device
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue