Event name: disable rotation
Condition: active application ->app stopped or in background---> camera
Action: screen rotation -> no rotation
just repeat for other apps...... so, when you close the camera or other apps.... screen rotation will be disable....
tell me if it work for you... it work...