[X Style (Pure) Themes and Apps] Competentpsycho:
Posted this in the RR7 thread but may help here. Guessing we have to wait for moto to fix the app but at least it gives a workaround that can be used for now and maybe others now of another way to fix.

I had the crashes too and it appears to be from the app failing to get permission to turn on do not disturb for the recording. I confirmed that if I manually turn on DND first the recording doesn't crash.

I don't see anything in permissions for the app to allow/disallow this, any ideas? I suppose I can manually turn DND on whenever I need to record, but that is tedious. Tried setting SELinux to permissive but that doesn't help.

Logcat snippet:

03-25 13:52:39.808 E/AndroidRuntime(20202): FATAL EXCEPTION: main

03-25 13:52:39.808 E/AndroidRuntime(20202): Process: com.motorola.camera1, PID: 20202

03-25 13:52:39.808 E/AndroidRuntime(20202): java.lang.SecurityException: Not allowed to change Do Not Disturb state

03-25 13:52:39.808 E/AndroidRuntime(20202): at android.os.Parcel.readException(Parcel.java:1684)

03-25 13:52:39.808 E/AndroidRuntime(20202): at android.os.Parcel.readException(Parcel.java:1637)

03-25 13:52:39.808 E/AndroidRuntime(20202): at android.media.IAudioService$Stub$Proxy.setRingerModeExternal(IAudioService.java:1050)

03-25 13:52:39.808 E/AndroidRuntime(20202): at android.media.AudioManager.setRingerMode(AudioManager.java:1093)

03-25 13:52:39.808 E/AndroidRuntime(20202): at com.motorola.camera.fsm.actions.VideoCameraActions.muteNotifications(VideoCameraActions.java:1480)

03-25 13:52:39.808 E/AndroidRuntime(20202): at com.motorola.camera.fsm.actions.VideoCameraActions$StartCaptureOnEntry.performAction(VideoCameraActions.java:591)

03-25 13:52:39.808 E/AndroidRuntime(20202): at unquietcode.tools.esm.EnumStateMachine.transition(EnumStateMachine.java:83)

03-25 13:52:39.808 E/AndroidRuntime(20202): at com.motorola.camera.fsm.CameraFSM.transition(CameraFSM.java:271)

03-25 13:52:39.808 E/AndroidRuntime(20202): at com.motorola.camera.fsm.States.handleTransition(States.java:6183)

03-25 13:52:39.808 E/AndroidRuntime(20202): at com.motorola.camera.fsm.States.-wrap0(States.java)

03-25 13:52:39.808 E/AndroidRuntime(20202): at com.motorola.camera.fsm.States$75.doHandleEvent(States.java:2863)

03-25 13:52:39.808 E/AndroidRuntime(20202): at com.motorola.camera.fsm.States.handleEvent(States.java:6263)

03-25 13:52:39.808 E/AndroidRuntime(20202): at com.motorola.camera.fsm.CameraFSM.handleEvent(CameraFSM.java:369)

03-25 13:52:39.808 E/AndroidRuntime(20202): at com.motorola.camera.fsm.actions.BaseActions$1.handleMessage(BaseActions.java:28)

03-25 13:52:39.808 E/AndroidRuntime(20202): at android.os.Handler.dispatchMessage(Handler.java:98)

03-25 13:52:39.808 E/AndroidRuntime(20202): at android.os.Looper.loop(Looper.java:154)

03-25 13:52:39.808 E/AndroidRuntime(20202): at android.app.ActivityThread.main(ActivityThread.java:6176)

03-25 13:52:39.808 E/AndroidRuntime(20202): at java.lang.reflect.Method.invoke(Native Method)

03-25 13:52:39.808 E/AndroidRuntime(20202): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)

03-25 13:52:39.808 E/AndroidRuntime(20202): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)[/QUOTE]

---------- Post added at 02:11 AM ---------- Previous post was at 01:24 AM ----------

I got this working normally by installing as privileged system app (put in /system/priv-app). Reboot after and you should be good.