diff options
author | Wink Saville <wink@google.com> | 2013-06-19 13:21:41 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-06-19 13:21:41 -0700 |
commit | d11a3103046554e70023294446969a321779231a (patch) | |
tree | 14601eea6bcbcbe91a96b84da56a0d7a3c89c6d9 /telephony | |
parent | 42a6682ec62b4470f2c783c015d95fdc6f64610b (diff) | |
parent | 7f081794074c1356ba347b802729adf36f06ad19 (diff) | |
download | frameworks_base-d11a3103046554e70023294446969a321779231a.zip frameworks_base-d11a3103046554e70023294446969a321779231a.tar.gz frameworks_base-d11a3103046554e70023294446969a321779231a.tar.bz2 |
am 7f081794: am c80e3d43: TelephonyManager.listen can have notifyNow always true.
* commit '7f081794074c1356ba347b802729adf36f06ad19':
TelephonyManager.listen can have notifyNow always true.
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 26dde1e..4185aea 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -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 |