title: android Rotation cause NullPointerException when capture photo
body: <p>I am using android:configChanges="orientation|keyboardHidden" in menifest. But still its refresh my activity. Here is my activity tag in menifest.</p>
  
  <pre><code>&lt;activity
      android:name="com.paksoft.people.MiActivity"
      android:label="@string/app_name"
      android:configChanges="orientation|keyboardHidden"
      android:screenOrientation="portrait"
      android:windowSoftInputMode="adjustPan" &gt;
  &lt;/activity&gt;
  </code></pre>