[DO NOT MERGE] Revert "[1/n] Introduce API for all available max WindowMetrics" am: 49381ee746

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

Change-Id: Ide372fdcfdfd7f2d25e74e18c4ab5f182a61373d