title: onConfigurationChanged not getting called even with manifest config changes - Why?
body: <p>I know the question is awful, <a href="http://tinyurl.com/nyjuc6y" rel="nofollow noreferrer">done thousands of times</a> ; But seriously, I've been stuck for 4 hours trying to solve this. I came into every link from 2009 until today and all of them give the same solution which (**** knows why) is not applying into my case.</p>
  
  <p>This is the activity inside my manifest:</p>
  
  <pre><code>&lt;activity 
  android:name="com.example.activities.CamerasActivity"
  android:configChanges="orientation|screenSize"&gt;
  &lt;/activity&gt; 
  </code></pre>
  
  <p>I'm using SDKs 4.0 or higher:</p>
  
  <pre><code>&lt;uses-sdk
  android:minSdkVersion="16"
  android:targetSdkVersion="19" /&gt;
  </code></pre>
  
  <p>And this is my class:</p>
  
  <pre><code>public class CamerasActivity extends Activity {
  
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
  
          setContentView(R.layout.cameras_activity);
  
          VideoView videoView = (VideoView)findViewById(R.id.action_cameras);
          videoView.setVideoPath("/storage/sdcard/teste.mp4");
          videoView.start();
      }
  
      //Still not working
      @Override
      public void onConfigurationChanged(Configuration newConfig) {
          super.onConfigurationChanged(newConfig);
  
          if(newConfig.orientation==Configuration.ORIENTATION_LANDSCAPE)
          {
              Log.d("System.out", "Welcome to Landscape Mode");
          }
          else if(newConfig.orientation==Configuration.ORIENTATION_PORTRAIT)
          {
              Log.d("System.out", "Welcome to portrait mode");
          }
      }
  }
  </code></pre>
  
  <p>When I run my app like this I can see in portrait mode, works fine. if I use <code>android:screenOrientation="landscape"</code> on my manifest, I can see forced in landscape mode. This means my layouts are fine but why exactly my <code>onConfigurationChanged</code> isn't getting called when I try to rotate the screen? What am I missing?</p>
  
  <p>EDIT:</p>
  
  <p>AVD Config:</p>
  
  <p><img src="https://i.stack.imgur.com/mDHOi.png" alt="enter image description here"></p>
  
  <p>Auto-Rotate enabled:
  <img src="https://i.stack.imgur.com/coDpP.png" alt="enter image description here"></p>
  
  <p>Video the way it is:
  <img src="https://i.stack.imgur.com/pWnos.png" alt="enter image description here">
  And no outputs on my logcat.</p>