summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2024-01-08 11:39:44 +0000
committer Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2024-01-08 12:07:32 +0000
commit1a89642ddd6459a248a2aab9271bd93d7b051dac (patch)
treecaa370046008777b1e88cdb9574b3e59d8468de1
parentb017819a05be0c7ffb85f3d62f87e8c1256a0051 (diff)
Update `PROPERTY_COMPAT_ALLOW_MIN_ASPECT_RATIO_OVERRIDE` javadoc
Replace word "only" with "either" in line "These treatments can apply only in specific ..." Fixes: 318471416 Test: n/a Change-Id: I0edd34f1e36f19e607f569c53614fe33b777bef4
-rw-r--r--core/java/android/view/WindowManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/WindowManager.java b/core/java/android/view/WindowManager.java
index f76822f14189..4f20ae50901b 100644
--- a/core/java/android/view/WindowManager.java
+++ b/core/java/android/view/WindowManager.java
@@ -1262,7 +1262,7 @@ public interface WindowManager extends ViewManager {
* <p>When this compat override is enabled the min aspect ratio given in the app's manifest can
* be overridden by the device manufacturer using their discretion to improve display
* compatibility unless the app's manifest value is higher. This treatment will also apply if
- * no min aspect ratio value is provided in the manifest. These treatments can apply only in
+ * no min aspect ratio value is provided in the manifest. These treatments can apply either in
* specific cases (e.g. device is in portrait) or each time the app is displayed on screen.
*
* <p>Setting this property to {@code false} informs the system that the app must be