Merge "OMS: dump: silently ignore -a" am: 51f47d9bc1 am: 8dc97ba452 am: be5174e5f1

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2214727

Change-Id: Ifb6282bf21b06557a47c816097f93d724cde8219
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Mårten Kongstad
2022-09-16 11:23:16 +00:00
committed by Automerger Merge Worker

View File

@@ -1009,7 +1009,9 @@ public final class OverlayManagerService extends SystemService {
}
opti++;
if ("-h".equals(opt)) {
if ("-a".equals(opt)) {
// dumpsys will pass in -a; silently ignore it
} else if ("-h".equals(opt)) {
pw.println("dump [-h] [--verbose] [--user USER_ID] [[FIELD] PACKAGE]");
pw.println(" Print debugging information about the overlay manager.");
pw.println(" With optional parameter PACKAGE, limit output to the specified");