Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c22b573 authored by Fabien Sanglard's avatar Fabien Sanglard
Browse files

Improve am --help wording

-W flag is explained as "wait for launch to complete", which is vague.
Adding "(initial display)" is searchable and actually brings up
https://developer.android.com/topic/performance/vitals/launch-time
which explains very well when is initial display occurding and therefore
when "am -W" returns.

Test: NA
Bug: NA
Change-Id: I87f51206382addd850b0efba098f733da79b4902
parent 6fdef471
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4122,7 +4122,7 @@ final class ActivityManagerShellCommand extends ShellCommand {
            pw.println("      -D: enable debugging");
            pw.println("      --suspend: debugged app suspend threads at startup (only with -D)");
            pw.println("      -N: enable native debugging");
            pw.println("      -W: wait for launch to complete");
            pw.println("      -W: wait for launch to complete (initial display)");
            pw.println("      --start-profiler <FILE>: start profiler and send results to <FILE>");
            pw.println("      --sampling INTERVAL: use sample profiling with INTERVAL microseconds");
            pw.println("          between samples (use with --start-profiler)");