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

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

Change-Id: Ibbdc6e846af50d83bd7184cf146c371a13ef051e
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 10:55:12 +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");