* commit '7f081794074c1356ba347b802729adf36f06ad19': 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) {
|
public void listen(PhoneStateListener listener, int events) {
|
||||||
String pkgForDebug = mContext != null ? mContext.getPackageName() : "<unknown>";
|
String pkgForDebug = mContext != null ? mContext.getPackageName() : "<unknown>";
|
||||||
try {
|
try {
|
||||||
Boolean notifyNow = (getITelephony() != null);
|
Boolean notifyNow = true;
|
||||||
sRegistry.listen(pkgForDebug, listener.callback, events, notifyNow);
|
sRegistry.listen(pkgForDebug, listener.callback, events, notifyNow);
|
||||||
} catch (RemoteException ex) {
|
} catch (RemoteException ex) {
|
||||||
// system process dead
|
// system process dead
|
||||||
|
|||||||
Reference in New Issue
Block a user