mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -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 std::string mCameraId;
|
||||
std::string mCameraID;
|
||||
// const after ctor
|
||||
int mCameraIdInt;
|
||||
int mDeviceVersion;
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ Return<void> CameraDevice::open(const sp<ICameraDeviceCallback>& callback,
|
|||
status_t res;
|
||||
camera3_device_t *device;
|
||||
|
||||
mCameraID = mCameraId;
|
||||
std::string mCameraID = mCameraId;
|
||||
if (mCameraIdInt == 1) mCameraIdInt = 2;
|
||||
if (mCameraID == "1") mCameraID = "2";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue