From ab5fd42968c214567dd5157c9c17bfc73a54c5e7 Mon Sep 17 00:00:00 2001 From: Edwin Wong Date: Tue, 26 Jul 2022 21:17:29 +0000 Subject: [PATCH] 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 --- libwvdrmengine/aidl_src/WVDrmFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libwvdrmengine/aidl_src/WVDrmFactory.cpp b/libwvdrmengine/aidl_src/WVDrmFactory.cpp index 4d953cba..3fee87f7 100644 --- a/libwvdrmengine/aidl_src/WVDrmFactory.cpp +++ b/libwvdrmengine/aidl_src/WVDrmFactory.cpp @@ -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,