title: display.getSize(size) returns wrong screen size with Galaxy S10
body: <p>I use the following code to get the device screen size. This works on all my devices except Galaxy S10. Galaxy S10 has 3040 vertical pixels and this function returns something around 2800?</p>
  
  <pre class="lang-java prettyprint-override"><code>Display display = getWindowManager().getDefaultDisplay();
  Point size = new Point();
  display.getSize(size);
  </code></pre>