I can turn on the flash light by the codes below:
cameraId = mCamManager.getCameraIdList()[0];
mCamManager.setTorchMode(cameraId, true);
But How could I tell if it's already open. Say if users open the torch by the default Android torch in the notification toolbars, I cannot just set a default flag owned by myself.