libril: Remove RIL_REQUEST_DIAL_EMERGENCY
authorChristopher N. Hesse <raymanfx@gmail.com>
Sun, 27 Mar 2016 19:31:04 +0000 (21:31 +0200)
committerEthan Chen <intervigil@gmail.com>
Tue, 29 Mar 2016 16:49:50 +0000 (09:49 -0700)
This is not part of the standard API, so remove it.
Samsung devices almost always use the RIL_REQUEST_DIAL_EMERGENCY_CALL
hook, so devices should implement that in their specific RIL subclass.

Change-Id: I2cf9eee00a4b5b02e998d8efcbefa87a9ca7b7b4

ril/libril/ril.cpp

index 3e3523905c03fd8392f5355de8d0af8c4ef4c34e..c3f50ba1df4689153003b460da39247992752797 100644 (file)
@@ -5166,7 +5166,6 @@ requestToString(int request) {
         case RIL_REQUEST_ENTER_NETWORK_DEPERSONALIZATION: return "ENTER_NETWORK_DEPERSONALIZATION";
         case RIL_REQUEST_GET_CURRENT_CALLS: return "GET_CURRENT_CALLS";
         case RIL_REQUEST_DIAL: return "DIAL";
-        case RIL_REQUEST_DIAL_EMERGENCY: return "DIAL";
         case RIL_REQUEST_GET_IMSI: return "GET_IMSI";
         case RIL_REQUEST_HANGUP: return "HANGUP";
         case RIL_REQUEST_HANGUP_WAITING_OR_BACKGROUND: return "HANGUP_WAITING_OR_BACKGROUND";