Wrong dimensions returned from Display and DisplayMetrics in Android 3.2?
<p>I was using this code to get full screen size in my application</p>

<pre><code>Display display = getWindowManager().getDefaultDisplay();
int w = display.getWidth();
int h = display.getHeight();
</code></pre>

<p>On my tablet, until osVersion = 3.1, this code returned a w=1280 and h=800.</p>

<p>Now, after an upgrade to Os 3.2, these values are 1280x752 (when in landscape)</p>

<p>So it seems that something is changed from 3.1 to 3.2 regarding this call: it now returns available space, not full screen size.</p>

<p>I've tried using DisplayMetrics and widthPixels/heigthPixels but they return same values.
Also using the brand new display.getSize(Point p) return the same values</p>

<p>I've also tried changing minSdkVersion and targetSdk in my manifest file to different values without success.</p>

<p>How to get back full screen size in Android os 3.2 ? </p>

<p>My app should be compatible with android os >=1.6</p>
