am c80e3d43: TelephonyManager.listen can have notifyNow always true.

* commit 'c80e3d434f034d8594014df2fe028e9420930ea8':
  TelephonyManager.listen can have notifyNow always true.
This commit is contained in:
Wink Saville
2013-06-19 13:19:02 -07:00
committed by Android Git Automerger

View File

@@ -1252,7 +1252,7 @@ public class TelephonyManager {
public void listen(PhoneStateListener listener, int events) {
String pkgForDebug = mContext != null ? mContext.getPackageName() : "<unknown>";
try {
Boolean notifyNow = (getITelephony() != null);
Boolean notifyNow = true;
sRegistry.listen(pkgForDebug, listener.callback, events, notifyNow);
} catch (RemoteException ex) {
// system process dead