From adb53b35cc99e1e98bc4c640d534fa00d44ebe31 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Wed, 3 Jun 2015 14:15:42 -0700 Subject: [PATCH] Add phone permissions to Shell These are needed for adb shell telecom commands to work on non-eng builds. Also fix a couple of typos in telecom documentation. Change-Id: Ia219ff78f5d65878e43e6b9216f979185495ce7f --- cmds/telecom/src/com/android/commands/telecom/Telecom.java | 4 ++-- packages/Shell/AndroidManifest.xml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/cmds/telecom/src/com/android/commands/telecom/Telecom.java b/cmds/telecom/src/com/android/commands/telecom/Telecom.java index f62c71b1a943..cdf7429b864c 100644 --- a/cmds/telecom/src/com/android/commands/telecom/Telecom.java +++ b/cmds/telecom/src/com/android/commands/telecom/Telecom.java @@ -68,9 +68,9 @@ public final class Telecom extends BaseCommand { "telecom set-phone-account-disabled: Disables the given phone account, if it \n" + " has already been registered with telecom.\n" + "\n" + - "telecom set-default_dialer: Sets the default dialer to the given component. \n" + + "telecom set-default-dialer: Sets the default dialer to the given component. \n" + "\n" + - "telecom get-default_dialer: Displays the current default dialer. \n" + "telecom get-default-dialer: Displays the current default dialer. \n" ); } diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index fd0ba73c27b2..640fb2922f29 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -25,6 +25,7 @@ + @@ -97,6 +98,10 @@ + + + +