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