Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d11a3103 authored by Wink Saville's avatar Wink Saville Committed by Android Git Automerger
Browse files

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

* commit '7f081794':
  TelephonyManager.listen can have notifyNow always true.
parents 42a6682e 7f081794
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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