diff options
| author | 2017-03-20 11:12:10 +0000 | |
|---|---|---|
| committer | 2017-03-20 11:12:10 +0000 | |
| commit | 66dc7be9e69158e44bd933d9dc6eedded67cea3d (patch) | |
| tree | e0c23260038d168175689c3763f8a37b7fd798d4 | |
| parent | 40c3ab0f8965550d77163aa3a1198dc12929485f (diff) | |
| parent | 20fa635f7b60bb6a0af9f3b56c40ff9337b58b74 (diff) | |
Merge "TelephonyManager: Avoid unnecessary object allocation." am: 5d3f14fe02 am: 088df2bd0a
am: 20fa635f7b
Change-Id: I1008a22a437b46d4830ef89189d43db0e3d07c45
| -rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 786252318023..aa5586090808 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -3349,7 +3349,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. |