mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-22 12:05:32 -04:00
universal7885: Don't add new member to struct
* Because 2 structs are different, causing issues Change-Id: Iafacbea214611631447764cc27bc3b4e533b2a76 Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
e1227a4089
commit
73cfd8f781
2 changed files with 1 additions and 2 deletions
|
|
@ -97,7 +97,6 @@ protected:
|
||||||
|
|
||||||
const sp<CameraModule> mModule;
|
const sp<CameraModule> mModule;
|
||||||
const std::string mCameraId;
|
const std::string mCameraId;
|
||||||
std::string mCameraID;
|
|
||||||
// const after ctor
|
// const after ctor
|
||||||
int mCameraIdInt;
|
int mCameraIdInt;
|
||||||
int mDeviceVersion;
|
int mDeviceVersion;
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@ Return<void> CameraDevice::open(const sp<ICameraDeviceCallback>& callback,
|
||||||
status_t res;
|
status_t res;
|
||||||
camera3_device_t *device;
|
camera3_device_t *device;
|
||||||
|
|
||||||
mCameraID = mCameraId;
|
std::string mCameraID = mCameraId;
|
||||||
if (mCameraIdInt == 1) mCameraIdInt = 2;
|
if (mCameraIdInt == 1) mCameraIdInt = 2;
|
||||||
if (mCameraID == "1") mCameraID = "2";
|
if (mCameraID == "1") mCameraID = "2";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue