summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2013-06-19 13:21:41 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-06-19 13:21:41 -0700
commitd11a3103046554e70023294446969a321779231a (patch)
tree14601eea6bcbcbe91a96b84da56a0d7a3c89c6d9 /telephony
parent42a6682ec62b4470f2c783c015d95fdc6f64610b (diff)
parent7f081794074c1356ba347b802729adf36f06ad19 (diff)
downloadframeworks_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.java2
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