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

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

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

* commit 'c80e3d43':
  TelephonyManager.listen can have notifyNow always true.
parents a5dc5846 c80e3d43
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