Merge "Use the current dimensions instead of relying on onConfigurationChanged" into sc-v2-dev am: fb1aca8138

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

Change-Id: I14b5a046c0c784f8e8b34267487fca0810faa5d0