am c80e3d43: TelephonyManager.listen can have notifyNow always true.
* commit 'c80e3d434f034d8594014df2fe028e9420930ea8': TelephonyManager.listen can have notifyNow always true.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user