Fix the runtime restart due to name change.
bug:3001395 bug:3001399 Change-Id: I73fd1a63fea0807531b01ae2a754b32efffd41b1
This commit is contained in:
@@ -688,8 +688,8 @@ int register_android_hardware_Camera(JNIEnv *env)
|
||||
field fields_to_find[] = {
|
||||
{ "android/hardware/Camera", "mNativeContext", "I", &fields.context },
|
||||
{ "android/view/Surface", ANDROID_VIEW_SURFACE_JNI_ID, "I", &fields.surface },
|
||||
{ "android/hardware/Camera$CameraInfo", "mFacing", "I", &fields.facing },
|
||||
{ "android/hardware/Camera$CameraInfo", "mOrientation", "I", &fields.orientation },
|
||||
{ "android/hardware/Camera$CameraInfo", "facing", "I", &fields.facing },
|
||||
{ "android/hardware/Camera$CameraInfo", "orientation", "I", &fields.orientation },
|
||||
};
|
||||
|
||||
if (find_fields(env, fields_to_find, NELEM(fields_to_find)) < 0)
|
||||
|
||||
Reference in New Issue
Block a user