Strange behaviour of ACTION_IMAGE_CAPTURE Intent - enters in onCreate when finishes
<p>I am confused with ImageCapturing behaviour, but when I save photo ( phone is in portrait) from camera I always return in onCreate method. WHen I capture and phone is rotated 90 degree (landscape) it works fine and enter only in onResult and onResume</p>

<pre><code>Intent cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
imageUri=Uri.fromFile(new File(imagesFolder,sfx));                  
cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT,imageUri);
cameraIntent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
startActivityForResult(cameraIntent,122);
</code></pre>

<p>Can somebody tell me why ? I put in manifest in all activityies <code>android:screenOrientation="portrait"</code></p>
