am d11a3103: am 7f081794: am c80e3d43: TelephonyManager.listen can have notifyNow always true.

* commit 'd11a3103046554e70023294446969a321779231a':
  TelephonyManager.listen can have notifyNow always true.
This commit is contained in:
Wink Saville
2013-06-19 13:24:03 -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