Rely on Display#getRealSize when dumping XML hierarchy am: 74184991b7 am: 90075dd1fb am: 240d62f76f am: 071bddea2d am: a0f601fcbb am: 0a7d004120 am: fb216b3885

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21544237

Change-Id: Ief4a33e2a0fb2176daef9ba239b4a5bdd61ba10d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>