summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Louis Chang <louischang@google.com> 2024-04-26 03:38:35 +0000
committer Louis Chang <louischang@google.com> 2024-04-26 04:07:34 +0000
commit1a91eec91fdce6d8f8b35318765c9c082f1616b5 (patch)
treea7805ca5cd34aef902093eba16588f02c62a2213
parentcaafcce1d8bafe6365105a9fad810d1efbffa7a7 (diff)
Corrects the help message for task resize
Bug: 324383960 Test: am help Test: am task resize in desktop mode Change-Id: Ie59048911d0a93424668026bef922b56bf0b6bb6
-rw-r--r--services/core/java/com/android/server/am/ActivityManagerShellCommand.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/services/core/java/com/android/server/am/ActivityManagerShellCommand.java b/services/core/java/com/android/server/am/ActivityManagerShellCommand.java
index 372ec45763bf..e9ce6ad3414a 100644
--- a/services/core/java/com/android/server/am/ActivityManagerShellCommand.java
+++ b/services/core/java/com/android/server/am/ActivityManagerShellCommand.java
@@ -4481,10 +4481,9 @@ final class ActivityManagerShellCommand extends ShellCommand {
pw.println(" 1: crop_windows");
pw.println(" 2: resizeable");
pw.println(" 3: resizeable_and_pipable");
- pw.println(" resize <TASK_ID> <LEFT,TOP,RIGHT,BOTTOM>");
- pw.println(" Makes sure <TASK_ID> is in a stack with the specified bounds.");
- pw.println(" Forces the task to be resizeable and creates a stack if no existing stack");
- pw.println(" has the specified bounds.");
+ pw.println(" resize <TASK_ID> <LEFT> <TOP> <RIGHT> <BOTTOM>");
+ pw.println(" The task is resized only if it is in multi-window windowing");
+ pw.println(" mode or freeform windowing mode.");
pw.println(" update-appinfo <USER_ID> <PACKAGE_NAME> [<PACKAGE_NAME>...]");
pw.println(" Update the ApplicationInfo objects of the listed packages for <USER_ID>");
pw.println(" without restarting any processes.");