Fix printUsage() typo in Widevine dumpsys hook.

Merged from http://go/wvgerrit/155149

Test:  adb shell dumpsys android.hardware.drm.IDrmFactory/widevine -o
  fail: verify correct usage is printed

Test: adb shell dumpsys android.hardware.drm::IDrmFactory/widevine
  fail: "Can't find service: android.hardware.drm::IDrmFactory/widevine"

Test: adb shell dumpsys android.hardware.drm.IDrmFactory/widevine
  success

Bug: 240289274
Change-Id: I609ac5b049614c53a4d21e75a7b9b22a61603be6
This commit is contained in:
Edwin Wong
2022-07-26 21:17:29 +00:00
parent 2999e4588e
commit ab5fd42968

View File

@@ -257,7 +257,7 @@ void WVDrmFactory::printUsage(int fd) {
dprintf(fd, "\ta:print all info | m:cdm metrics | p:cdm properties\n");
dprintf(fd,
"Usage: adb shell dumpsys "
"android.hardware.drm::IDrmFactory/widevine [-a|-h|-m|-p]\n");
"android.hardware.drm.IDrmFactory/widevine [-a|-h|-m|-p]\n");
}
binder_status_t WVDrmFactory::dump(int fd, const char** args,