From e7dd620228a12c535fd6812c4b1ab20fd0907d91 Mon Sep 17 00:00:00 2001 From: Seok Hong Date: Mon, 16 May 2016 14:50:11 +0900 Subject: [PATCH] Rename bluetooth-tethering test in dpm-cli-toolkit Rename 'bluetooth-tethering' to 'blueooth_tethering' Add bluetooth_tethering option into tool usage string Change-Id: I6b88bbe482b923afeaf7e52e6c688e590ad15a93 Signed-off-by: Seok Hong --- tools/dpm-cli-toolkit/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/dpm-cli-toolkit/main.c b/tools/dpm-cli-toolkit/main.c index 45a3b76..1edfb0d 100644 --- a/tools/dpm-cli-toolkit/main.c +++ b/tools/dpm-cli-toolkit/main.c @@ -32,7 +32,7 @@ void print_rule(void) printf("Ex: dpm-cli-toolkit -s password\n"); printf("--------------------------------------------------------------\n"); printf("[Restrictioin Polocy]\n"); - printf("camera, microphone, location, clipboard, settings, usb_debugging\n"); + printf("camera, microphone, location, clipboard, settings, usb_debugging, bluetooth_tethering\n"); printf("Usage: dpm-cli-toolkit -s [policy-name] -v [value: 0 or 1]\n"); printf("Ex: dpm-cli-toolkit -s camera -v 1\n"); printf("--------------------------------------------------------------\n"); @@ -134,7 +134,7 @@ void restriction_policy_command_handler(char *policy, int command, int state) settings_policy_handler(command, state); else if (strcmp(policy, "usb_debugging") == 0) usb_debugging_policy_handler(command, state); - else if (strcmp(policy, "bluetooth-tethering") == 0) + else if (strcmp(policy, "bluetooth_tethering") == 0) bluetooth_tethering_policy_handler(command, state); else { printf("Wrong policy name! Please refer to the policy names bleow.\n"); -- 2.7.4