Remove exception on re-setting manual camera ID; this is fine and needed for an activity handling multiple Intents

This commit is contained in:
Sean Owen 2014-07-30 01:17:13 +01:00
parent 281721f2d9
commit 58be32036a

View file

@ -280,11 +280,7 @@ public final class CameraManager {
* @param cameraId camera ID of the camera to use. A negative value means "no preference".
*/
public synchronized void setManualCameraId(int cameraId) {
if (initialized) {
throw new IllegalStateException();
} else {
requestedCameraId = cameraId;
}
requestedCameraId = cameraId;
}
/**