OSDN Git Service

TelephonyManager.listen can have notifyNow always true.
authorWink Saville <wink@google.com>
Wed, 19 Jun 2013 18:28:06 +0000 (11:28 -0700)
committerThe Android Automerger <android-build@android.com>
Thu, 20 Jun 2013 18:24:17 +0000 (11:24 -0700)
commit42b04e4cf1935921fe90f9a8eab3327d723435b0
tree0301e396b4caf194b26f9ccc416eef16ea4d1149
parentc1c0e320578e36de5bb1cd6ead4c81374c30ff9e
TelephonyManager.listen can have notifyNow always true.

Since telepony.registry is a real system service notifyNow
parameter doesn't need to be conditional as telephony.registery
will never go away.

This is different from most of the other TelephonyManager
methods which are used to invoke methods on the phone service
which implements ITelephony and is implemented by
PhoneInterfaceManager in the phone application. Since the
phone app is not a system service it can and does go away when
it crashes.

Bug: 9393863
Change-Id: I1a8afc12b0e139e72f05820e49f3d996aec2b52a
telephony/java/android/telephony/TelephonyManager.java