From f37505f27359f25c182a4558b454158ad3c009c9 Mon Sep 17 00:00:00 2001 From: Chris Li Date: Tue, 23 Mar 2021 22:57:36 -0700 Subject: [PATCH] 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 --- core/java/android/content/pm/ActivityInfo.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/java/android/content/pm/ActivityInfo.java b/core/java/android/content/pm/ActivityInfo.java index 0952b3e1233c4..c73b8bd9406d1 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