Use BasicShellCommandHandler instead of ShellCommand
ShellCommand is hidden so we're using its replacement instead.
Bug: 146834818
Test: manual (adb shell cmd phone help)
Change-Id: I5c48df53dbeb4e15bfdc1da6fe5db7b7ec184158
diff --git a/src/com/android/phone/TelephonyShellCommand.java b/src/com/android/phone/TelephonyShellCommand.java
index 53b3356..0348389 100644
--- a/src/com/android/phone/TelephonyShellCommand.java
+++ b/src/com/android/phone/TelephonyShellCommand.java
@@ -17,11 +17,11 @@
package com.android.phone;
import android.content.Context;
+import android.os.BasicShellCommandHandler;
import android.os.Binder;
import android.os.PersistableBundle;
import android.os.Process;
import android.os.RemoteException;
-import android.os.ShellCommand;
import android.telephony.CarrierConfigManager;
import android.telephony.SubscriptionInfo;
import android.telephony.SubscriptionManager;
@@ -46,7 +46,7 @@
* here also contain the appropriate permissions checks.
*/
-public class TelephonyShellCommand extends ShellCommand {
+public class TelephonyShellCommand extends BasicShellCommandHandler {
private static final String LOG_TAG = "TelephonyShellCommand";
// Don't commit with this true.