OSDN Git Service

Fix bug 1994955 where PHONE_TYPE_CDMA was 0 and it should be 2 and added RILConstants...
authorWink Saville <wink@google.com>
Wed, 29 Jul 2009 17:25:09 +0000 (10:25 -0700)
committerWink Saville <wink@google.com>
Wed, 29 Jul 2009 17:25:09 +0000 (10:25 -0700)
commitb307c8945d4bf8d843445f3cc6d727f4e43d90f0
tree5edab2e64aea7228de5d2723d2a61a0ec31044e5
parent0869f7ef1efa9fe2e26b20e525952ad611d379aa
Fix bug 1994955 where PHONE_TYPE_CDMA was 0 and it should be 2 and added RILConstants.NO_PHONE.

This bug originally reported that PHONE_TYPE_CDMA needed to be 2 because
it was public. But as far as I can tell it has never been public and it
is still marked @hide so is not public now. There is a bug in that
PHONE_TYPE_NONE and PHONE_TYPE_CDMA were both 0. But this doesn't
appear to have been a problem because PHONE_TYPE_NONE doesn't looked to be
used anywhere except in TelephonyManagerTest.
telephony/java/android/telephony/TelephonyManager.java
telephony/java/com/android/internal/telephony/RILConstants.java