Added logging in Telecom account registration loop.
Added abundant logging throughout the phone account registry process which could have been potentially causing a loop leading to battery depletion.
Bug: 258458772
Test: This change only increases logging so no new tests required.
Change-Id: Ia9dd690d474b99a4768edd6873f54ecd9ea3600d
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index ff4dcfe..688b039 100644
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -11635,6 +11635,8 @@
try {
Phone phone = getPhone(subId);
if (phone == null) return;
+ Log.i(LOG_TAG, "setVoiceServiceStateOverride: subId=" + subId + ", phone=" + phone
+ + ", hasService=" + hasService + ", callingPackage=" + callingPackage);
phone.setVoiceServiceStateOverride(hasService);
} finally {
Binder.restoreCallingIdentity(identity);