OSDN Git Service

Renamed voiceNetworkStateChanged and dataNetworkStateChanged
authorJack Yu <jackyu@google.com>
Thu, 26 Jan 2017 20:45:57 +0000 (12:45 -0800)
committerJack Yu <jackyu@google.com>
Mon, 6 Feb 2017 22:05:26 +0000 (14:05 -0800)
The misleading voiceNetworkStateChanged should be renamed
to networkStateChanged to reflect either voice or data
network changes will trigger this indication.
And dataNetworkStateChanged should be renamed to
dataCallListChanged as well.

Test: Build
Merged-In: Icf20ceb3718794f7aa62650816714ac8679d101a
Change-Id: Icf20ceb3718794f7aa62650816714ac8679d101a

telephony/java/com/android/internal/telephony/RILConstants.java

index a91e9be..b770b19 100644 (file)
@@ -417,7 +417,7 @@ cat include/telephony/ril.h | \
     int RIL_UNSOL_RESPONSE_BASE = 1000;
     int RIL_UNSOL_RESPONSE_RADIO_STATE_CHANGED = 1000;
     int RIL_UNSOL_RESPONSE_CALL_STATE_CHANGED = 1001;
-    int RIL_UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED = 1002;
+    int RIL_UNSOL_RESPONSE_NETWORK_STATE_CHANGED = 1002;
     int RIL_UNSOL_RESPONSE_NEW_SMS = 1003;
     int RIL_UNSOL_RESPONSE_NEW_SMS_STATUS_REPORT = 1004;
     int RIL_UNSOL_RESPONSE_NEW_SMS_ON_SIM = 1005;