[Samsung Galaxy Nexus] pobetiger:
camera and torch

Hello,

I'm building my own nightly from CM-12.0 and the following from ziyann (device/samsung/tuna,maguro; ziyann/omap --> kernel/samsung/maguro, and proprietary files from ziyann).

I've been having pretty good success using the build as a daily driver. But sometime in January 2015, I haven't been able to use the camera app. I'm getting errors such as this when attempting to start camera app:

V/CAM_LogHelper( 5351): override log level is about to be: 0
D/CAM_UsageStats( 5351): checking signing for package: com.google.android.GoogleCamera
V/CAM_UsageStats( 5351): GooglePlayServicesAvailable = SUCCESS
W/CAM_Log ( 5351): Tag SessionStatsCollector is 2 chars longer than limit.
D/CAM_MemoryManagerImpl( 5351): Max native memory: 179 MB
V/CAM_QuickActivity( 5351): START onCreate: Activity = com.android.camera.CameraActivity@31f934e0
V/CAM_QuickActivity( 5351): Intent Action = android.intent.action.MAIN
D/CAM_CameraActivity( 5351): Creating camera manager failed.
[COLOR="Red"]D/CAM_CameraActivity( 5351): com.android.camera.one.OneCameraException: Camera 2 API supported but no devices available.[/COLOR]
D/CAM_CameraActivity( 5351):	at com.android.camera.one.OneCameraManager.isCamera2Supported(OneCameraManager.java:125)
D/CAM_CameraActivity( 5351):	at com.android.camera.one.OneCameraManager.create(OneCameraManager.java:95)
D/CAM_CameraActivity( 5351):	at com.android.camera.one.OneCameraManager.get(OneCameraManager.java:74)
D/CAM_CameraActivity( 5351):	at com.android.camera.CameraActivity.onCreateTasks(CameraActivity.java:1382)
D/CAM_CameraActivity( 5351):	at com.android.camera.util.QuickActivity.onCreate(QuickActivity.java:101)
D/CAM_CameraActivity( 5351):	at android.app.Activity.performCreate(Activity.java:5933)
D/CAM_CameraActivity( 5351):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
D/CAM_CameraActivity( 5351):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2264)
D/CAM_CameraActivity( 5351):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2390)
D/CAM_CameraActivity( 5351):	at android.app.ActivityThread.access$800(ActivityThread.java:147)
D/CAM_CameraActivity( 5351):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1281)
D/CAM_CameraActivity( 5351):	at android.os.Handler.dispatchMessage(Handler.java:102)
D/CAM_CameraActivity( 5351):	at android.os.Looper.loop(Looper.java:135)
D/CAM_CameraActivity( 5351):	at android.app.ActivityThread.main(ActivityThread.java:5255)
D/CAM_CameraActivity( 5351):	at java.lang.reflect.Method.invoke(Native Method)
D/CAM_CameraActivity( 5351):	at java.lang.reflect.Method.invoke(Method.java:372)
D/CAM_CameraActivity( 5351):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
D/CAM_CameraActivity( 5351):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
E/CAM_Util( 5351): Show fatal error dialog
D/OpenGLRenderer( 5351): Render dirty regions requested: true
D/Atlas ( 5351): Validating map...
V/CAM_QuickActivity( 5351): END onCreate: Activity = com.android.camera.CameraActivity@31f934e0
V/CAM_QuickActivity( 5351): START onStart: Activity = com.android.camera.CameraActivity@31f934e0
D/AndroidRuntime( 5351): Shutting down VM
E/AndroidRuntime( 5351): FATAL EXCEPTION: main
E/AndroidRuntime( 5351): Process: com.google.android.GoogleCamera, PID: 5351
E/AndroidRuntime( 5351): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.GoogleCamera/com.android.camera.CameraActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.camera.util.PhotoSphereHelper$PanoramaViewHelper.onStart()' on a null object reference

I think I'm missing a commit to turn camera devices back on? Or maybe I missed a post on how to do that. Any pointers would be helpful. Thanks.

Ben