summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Graciela Wissen Putri <gracielawputri@google.com> 2023-10-26 13:11:19 +0000
committer Graciela Wissen Putri <gracielawputri@google.com> 2023-10-26 13:11:19 +0000
commit9693100ebafb2b66bd72d14ceac1cec2940d18da (patch)
tree0de2f96dc91347e2282de63888523216b6d025bc
parent4618c35ab6e0cd9301e9524d24af96d1abd8693e (diff)
Update javadocs for OVERRIDE_MIN_ASPECT_RATIO
Fix: 288305572 Test: N/A, docs update Change-Id: I0339311680620d92bc6878191b88a42b004e749e
-rw-r--r--core/java/android/content/pm/ActivityInfo.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/java/android/content/pm/ActivityInfo.java b/core/java/android/content/pm/ActivityInfo.java
index aefa55f30826..323592c43760 100644
--- a/core/java/android/content/pm/ActivityInfo.java
+++ b/core/java/android/content/pm/ActivityInfo.java
@@ -1204,12 +1204,15 @@ public class ActivityInfo extends ComponentInfo implements Parcelable {
/**
* This change id is the gatekeeper for all treatments that force a given min aspect ratio.
* Enabling this change will allow the following min aspect ratio treatments to be applied:
- * OVERRIDE_MIN_ASPECT_RATIO_MEDIUM
- * OVERRIDE_MIN_ASPECT_RATIO_LARGE
+ * <ul>
+ * <li>OVERRIDE_MIN_ASPECT_RATIO_MEDIUM
+ * <li>OVERRIDE_MIN_ASPECT_RATIO_LARGE
+ * </ul>
*
* If OVERRIDE_MIN_ASPECT_RATIO is applied, the min aspect ratio given in the app's manifest
* will be overridden to the largest enabled aspect ratio treatment unless the app's manifest
- * value is higher.
+ * value is higher. By default, this will only apply to activities with fixed portrait
+ * orientation if OVERRIDE_MIN_ASPECT_RATIO_PORTRAIT_ONLY is not explicitly disabled.
* @hide
*/
@ChangeId