From 68ff9736f5ecb7afea948092ac7432e564692200 Mon Sep 17 00:00:00 2001 From: Marvin Ramin Date: Fri, 31 Mar 2023 10:43:32 +0000 Subject: [PATCH] Update help command in CompanionDeviceShellCommand remove-inactive-associations refers to a sysprop that the framework never reads. It appears as if the documentation had the error from the start: ag/17623973 Bug: 227798203 Change-Id: I02e01ba1d6744bb2d11eda4cca9edf557bbec4c6 Test: n/a --- .../android/server/companion/CompanionDeviceShellCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/companion/java/com/android/server/companion/CompanionDeviceShellCommand.java b/services/companion/java/com/android/server/companion/CompanionDeviceShellCommand.java index 6889bcd633554..4013514979bcb 100644 --- a/services/companion/java/com/android/server/companion/CompanionDeviceShellCommand.java +++ b/services/companion/java/com/android/server/companion/CompanionDeviceShellCommand.java @@ -163,7 +163,7 @@ class CompanionDeviceShellCommand extends ShellCommand { pw.println(" remove-inactive-associations"); pw.println(" Remove self-managed associations that have not been active "); pw.println(" for a long time (90 days or as configured via "); - pw.println(" \"debug.cdm.cdmservice.cleanup_time_window\" system property). "); + pw.println(" \"debug.cdm.cdmservice.removal_time_window\" system property). "); pw.println(" USE FOR DEBUGGING AND/OR TESTING PURPOSES ONLY."); } }