Closed Bug 885031 Opened 11 years ago Closed 11 years ago

java.lang.NoClassDefFoundError: android.hardware.Camera$CameraInfo at org.webrtc.videoengine.VideoCaptureAndroid.GetRotateAmount(VideoCaptureAndroid.java) on Froyo

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
critical

Tracking

(firefox24 affected)

RESOLVED FIXED
Firefox 25
Tracking Status
firefox24 --- affected

People

(Reporter: scoobidiver, Assigned: gcp)

References

Details

(Keywords: crash, Whiteboard: [native-crash][getUserMedia][android-gum-])

Crash Data

Attachments

(1 file)

There's one crash in 24.0a1/20130619: bp-4c0d72f7-d686-4085-846b-ecf6f2130619.

java.lang.NoClassDefFoundError: android.hardware.Camera$CameraInfo
	at org.webrtc.videoengine.VideoCaptureAndroid.GetRotateAmount(VideoCaptureAndroid.java:154)
	at dalvik.system.NativeStart.run(Native Method)

More reports at:
https://crash-stats.mozilla.com/report/list?signature=java.lang.NoClassDefFoundError%3A+android.hardware.Camera%24CameraInfo+at+org.webrtc.videoengine.VideoCaptureAndroid.GetRotateAmount%28VideoCaptureAndroid.java%29
2.2-specific crash. Not blocking, although I'm interested to know why this is failing.
Whiteboard: [native-crash] → [native-crash][getUserMedia][android-gum-]
Fallout from bug 840244. 

Android Camera.CameraInfo is API level 9. Funnily enough, the example code for the API level 8 setDisplayOrientation uses it:

http://developer.android.com/reference/android/hardware/Camera.html#setDisplayOrientation%28int%29

I think we'll have to assume a fixed 90 degree camera for Froyo. There's no way to query the device itself to know how its camera is set up, it seems.
Don't attempt to query information about the Camera on Android 2.2. Just assume everything is in the most common layout.
Attachment #774618 - Flags: review?(blassey.bugs)
Attachment #774618 - Flags: review?(blassey.bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/ac4bffd18f69
Assignee: nobody → gpascutto
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: