fix: Fix crash when accessing planesCount
or bytesPerRow
(#380)
* fix: Fix `bytesPerRow` and `planeCount` crashing * use direct call * Call `getPlanesCount` and `getBytesPerRow` through java * revert camerapage changes * remove removed header import * Update CameraPage.tsx
This commit is contained in:
@@ -16,7 +16,7 @@ struct JImageProxy : public facebook::jni::JavaClass<JImageProxy> {
|
||||
int getWidth();
|
||||
int getHeight();
|
||||
bool getIsValid();
|
||||
int getPlaneCount();
|
||||
int getPlanesCount();
|
||||
int getBytesPerRow();
|
||||
void close();
|
||||
};
|
||||
|
Reference in New Issue
Block a user