DevicePosturePlatformProviderAndroid: Speculative fix for NoClassDefFoundError

Moves the is-the-API-available logic of WindowLayoutInfoListener, since
that class uses types that are accessible only when the API is
available.

Bug: 336827691
Change-Id: Id31e71862637e8e7ff014681717a6e2343c52220
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5490190
Reviewed-by: Sam Maier <smaier@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Owners-Override: Andrew Grieve <agrieve@chromium.org>
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1293757}
NOKEYCHECK=True
GitOrigin-RevId: 773dfe8768861d87d41cb15fbb14efe0515cf0cc
diff --git a/window_extensions/README.md b/window_extensions/README.md
index 9e176be..5ac4ba8 100644
--- a/window_extensions/README.md
+++ b/window_extensions/README.md
@@ -11,7 +11,7 @@
 added via manifest merging when depending on the GN target).
 
 Not all devices have this optional library available. You can check if it's
-available via `org.chromium.window.WindowUtil#isAvailable()`.
+available via `org.chromium.window.WindowApiCheck#isAvailable()`.
 
 Library documentation: https://source.android.com/docs/core/display/windowmanager-extensions