[Phone] Fix typo in handling call history events
authorJimmy Huang <jimmy.huang@intel.com>
Tue, 2 Dec 2014 23:38:31 +0000 (15:38 -0800)
committerJimmy Huang <jimmy.huang@intel.com>
Wed, 3 Dec 2014 20:02:05 +0000 (12:02 -0800)
Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
phone/phone_instance.cc

index 2d03387..8eba1ec 100644 (file)
@@ -81,10 +81,10 @@ void PhoneInstance::HandleMessage(const char* msg) {
         std::string("CallChanged"), v);
   } else if (cmd == "AddCallHistoryEntryAddedListener") {
     HandleAddListener(call_history_entry_added_listener_id_,
-        std::string("CallHistoryEntryAddedChanged"), v);
+        std::string("CallHistoryEntryAdded"), v);
   } else if (cmd == "RemoveCallHistoryEntryAddedListener") {
     HandleRemoveListener(call_history_entry_added_listener_id_,
-        std::string("CallHistoryEntryAddedChanged"), v);
+        std::string("CallHistoryEntryAdded"), v);
   } else if (cmd == "AddCallHistoryChangedListener") {
     HandleAddListener(call_history_changed_listener_id_,
         std::string("CallHistoryChanged"), v);