Default to hfp modem when no args are passed
authorJimmy Huang <jimmy.huang@linux.intel.com>
Wed, 12 Dec 2012 18:56:01 +0000 (10:56 -0800)
committerJimmy Huang <jimmy.huang@linux.intel.com>
Wed, 12 Dec 2012 18:56:01 +0000 (10:56 -0800)
dialer/main.c

index 1422ead..c5403f6 100644 (file)
@@ -23,7 +23,7 @@ static const char def_modem_hfp_api[] =
        "VoiceCallManager";
 
 static const char def_modem_type[] =
-       "hardware";
+       "hfp";
 
 static const char def_rc_service[] = "org.tizen.dialer";
 
@@ -145,7 +145,7 @@ EAPI int elm_main(int argc, char **argv)
        } else {
                const char *api;
                if (!modem_type)
-                       api = def_modem_hardware_api;
+                       api = def_modem_hfp_api;
                else if (strstr(modem_type, "hfp"))
                        api = def_modem_hfp_api;
                else if (strcmp(modem_type, "hardware"))