summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chris Li <lihongyu@google.com> 2021-03-23 22:57:36 -0700
committer Chris Li <lihongyu@google.com> 2021-03-30 19:33:55 -0700
commitf37505f27359f25c182a4558b454158ad3c009c9 (patch)
tree80ae2c8211dbd6c5cae9de17620b48389d321f29
parentc3f2588fed7441b899190e50b322db14a2516f40 (diff)
Update javadoc for FORCE_RESIZE_APP
As we allow non-resizable app in multi-windowing mode, the previous comment can be confusing. Bug: 176061101 Test: udpate comment Change-Id: Iba51ca4158940bbda761fe3b7977d338ee1f3327
-rw-r--r--core/java/android/content/pm/ActivityInfo.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/content/pm/ActivityInfo.java b/core/java/android/content/pm/ActivityInfo.java
index 0952b3e1233c..c73b8bd9406d 100644
--- a/core/java/android/content/pm/ActivityInfo.java
+++ b/core/java/android/content/pm/ActivityInfo.java
@@ -896,8 +896,9 @@ public class ActivityInfo extends ComponentInfo implements Parcelable {
};
/**
- * This change id forces the packages it is applied to to be resizable. We only allow resizing
- * in fullscreen windowing mode, but not forcing the app into resizable multi-windowing mode.
+ * This change id forces the packages it is applied to be resizable. It won't change whether
+ * the app can be put into multi-windowing mode, but allow the app to resize when the window
+ * container resizes, such as display size change.
* @hide
*/
@ChangeId