Modified RLCameraActivity.