Merge "Fix potential NPE from 326226"
diff --git a/src/com/android/server/telecom/PhoneAccountRegistrar.java b/src/com/android/server/telecom/PhoneAccountRegistrar.java
index 0e7fe3e..4fe6ed6 100644
--- a/src/com/android/server/telecom/PhoneAccountRegistrar.java
+++ b/src/com/android/server/telecom/PhoneAccountRegistrar.java
@@ -448,8 +448,7 @@
*/
public boolean enablePhoneAccount(PhoneAccountHandle accountHandle, boolean isEnabled) {
PhoneAccount account = getPhoneAccountUnchecked(accountHandle);
- Log.i(this, "Phone account %s %s.", accountHandle.toString(),
- isEnabled ? "enabled" : "disabled");
+ Log.i(this, "Phone account %s %s.", accountHandle, isEnabled ? "enabled" : "disabled");
if (account == null) {
Log.w(this, "Could not find account to enable: " + accountHandle);
return false;