This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

camera suspend resume problem.



i am  working on AMDM37X MULTIMEDIA  OMAP3 Device running on android gingerbread os.Initially the android default orientation is landscape,and camera application also in landscape,then camera is working properly .Next i changed default rotation to portrait by setprop ro.sw.hwrotation 90 in init.rc file,and camera application also in portrait ,then also camera is working properly .My  requirement is android default rotation is portrait and camera application is in landscape .But in this case camera is  not working   when suspend and resume. I think when resume camera is trying to change orientation to portrait.please give any solution.