mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: Fix clang-tidy issue again
This commit is contained in:
parent
f5d7b37699
commit
988595370b
9 changed files with 32 additions and 32 deletions
|
|
@ -65,7 +65,7 @@ SamsungCameraProvider::SamsungCameraProvider()
|
|||
}
|
||||
|
||||
Return<void> SamsungCameraProvider::getCameraIdList(
|
||||
ICameraProvider::getCameraIdList_cb _hidl_cb) {
|
||||
const ICameraProvider::getCameraIdList_cb &_hidl_cb) {
|
||||
std::vector<hidl_string> deviceNameList;
|
||||
for (auto const &deviceNamePair : mCameraDeviceNames) {
|
||||
int id = std::stoi(deviceNamePair.first);
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ public:
|
|||
SamsungCameraProvider();
|
||||
~SamsungCameraProvider();
|
||||
|
||||
Return<void> getCameraIdList(ICameraProvider::getCameraIdList_cb _hidl_cb);
|
||||
Return<void> getCameraIdList(const ICameraProvider::getCameraIdList_cb &_hidl_cb);
|
||||
|
||||
private:
|
||||
std::vector<int> mExtraIDs;
|
||||
|
|
|
|||
Loading…
Reference in a new issue