Use Display instead of DisplayMetrics to find out the Display size.
It solves issues where we were sometimes getting stale data, especially if reading information after a DisplayListener event. BUG=354275 Review URL: https://codereview.chromium.org/212933012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260223 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment