Loading cmds/telecom/src/com/android/commands/telecom/Telecom.java +8 −0 Original line number Diff line number Diff line Loading @@ -70,6 +70,7 @@ public final class Telecom extends BaseCommand { private static final String COMMAND_GET_DEFAULT_DIALER = "get-default-dialer"; private static final String COMMAND_STOP_BLOCK_SUPPRESSION = "stop-block-suppression"; private static final String COMMAND_CLEANUP_STUCK_CALLS = "cleanup-stuck-calls"; private static final String COMMAND_RESET_CAR_MODE = "reset-car-mode"; /** * Change the system dialer package name if a package name was specified, Loading Loading @@ -220,6 +221,9 @@ public final class Telecom extends BaseCommand { case COMMAND_CLEANUP_STUCK_CALLS: runCleanupStuckCalls(); break; case COMMAND_RESET_CAR_MODE: runResetCarMode(); break; case COMMAND_SET_DEFAULT_DIALER: runSetDefaultDialer(); break; Loading Loading @@ -345,6 +349,10 @@ public final class Telecom extends BaseCommand { mTelecomService.cleanupStuckCalls(); } private void runResetCarMode() throws RemoteException { mTelecomService.resetCarMode(); } private void runSetDefaultDialer() throws RemoteException { String packageName = nextArg(); if ("default".equals(packageName)) packageName = null; Loading telecomm/java/com/android/internal/telecom/ITelecomService.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -333,6 +333,8 @@ interface ITelecomService { void cleanupStuckCalls(); void resetCarMode(); void setTestDefaultCallRedirectionApp(String packageName); void setTestPhoneAcctSuggestionComponent(String flattenedComponentName); Loading Loading
cmds/telecom/src/com/android/commands/telecom/Telecom.java +8 −0 Original line number Diff line number Diff line Loading @@ -70,6 +70,7 @@ public final class Telecom extends BaseCommand { private static final String COMMAND_GET_DEFAULT_DIALER = "get-default-dialer"; private static final String COMMAND_STOP_BLOCK_SUPPRESSION = "stop-block-suppression"; private static final String COMMAND_CLEANUP_STUCK_CALLS = "cleanup-stuck-calls"; private static final String COMMAND_RESET_CAR_MODE = "reset-car-mode"; /** * Change the system dialer package name if a package name was specified, Loading Loading @@ -220,6 +221,9 @@ public final class Telecom extends BaseCommand { case COMMAND_CLEANUP_STUCK_CALLS: runCleanupStuckCalls(); break; case COMMAND_RESET_CAR_MODE: runResetCarMode(); break; case COMMAND_SET_DEFAULT_DIALER: runSetDefaultDialer(); break; Loading Loading @@ -345,6 +349,10 @@ public final class Telecom extends BaseCommand { mTelecomService.cleanupStuckCalls(); } private void runResetCarMode() throws RemoteException { mTelecomService.resetCarMode(); } private void runSetDefaultDialer() throws RemoteException { String packageName = nextArg(); if ("default".equals(packageName)) packageName = null; Loading
telecomm/java/com/android/internal/telecom/ITelecomService.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -333,6 +333,8 @@ interface ITelecomService { void cleanupStuckCalls(); void resetCarMode(); void setTestDefaultCallRedirectionApp(String packageName); void setTestPhoneAcctSuggestionComponent(String flattenedComponentName); Loading