title: Galaxy Note 5: Density Reduced Automatically
body: <p>I created an app that relies on some screen metrics to function.  It works great on all devices, except for the Galaxy Note 5.  On the note 5 it reports the screen size of 1080x1920 while the screen is actually 1440x2560.  I also see the following message in logcat:</p>
  
  <p>"ActivityThread﹕ Switching default density from 560 to 420"</p>
  
  <p>I'm finding the screen size by calling getWindowVisibleDisplayFrame in the following code:</p>
  
  <pre><code>Rect usable_rect = new Rect();
  Window window = activity.getWindow();
  window.getDecorView().getWindowVisibleDisplayFrame(usable_rect);
  </code></pre>
  
  <p>One other odd observation, if I use a package name other then my released app's package name the correct metrics are returned.  Please help!</p>