Does anyone face a similar issue in S4? Its working on other devices.
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
intent.putExtra(MediaStore.EXTRA_OUTPUT, outputFileUri);
startActivityForResult(intent, PICK_IMAGE_CAMERA);
This is the code I'm using to call the camera application, after taking the picture the activity from which it was called rotates even though I have specified the activity orientation as portrait in manifest. It lasts for only a second and comes back to the portrait mode.
Note: issue exists only in S4!!