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

Commit 20fa635f authored by Narayan Kamath's avatar Narayan Kamath Committed by android-build-merger
Browse files

Merge "TelephonyManager: Avoid unnecessary object allocation." am: 5d3f14fe

am: 088df2bd

Change-Id: I0af6c22b2c7418553a70d49f9d67393b51abd37f
parents 606f1ae9 088df2bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3205,7 +3205,7 @@ public class TelephonyManager {
    public void listen(PhoneStateListener listener, int events) {
        if (mContext == null) return;
        try {
            Boolean notifyNow = (getITelephony() != null);
            boolean notifyNow = (getITelephony() != null);
            // If the listener has not explicitly set the subId (for example, created with the
            // default constructor), replace the subId so it will listen to the account the
            // telephony manager is created with.