Fix Log.wtf() causing crash; change to warning
Bug: 15898921
Change-Id: Ie0b3bc7969fa849b58b9376db799f24720a7d375
diff --git a/src/com/android/phone/CallFeaturesSetting.java b/src/com/android/phone/CallFeaturesSetting.java
index 6c49a3a..a961968 100644
--- a/src/com/android/phone/CallFeaturesSetting.java
+++ b/src/com/android/phone/CallFeaturesSetting.java
@@ -2271,8 +2271,9 @@
// for the ListPreference points to something useful and does not throw an NPE) and proceed.
String connectionServiceDefault = getString(R.string.connection_service_default);
if (!mConnectionServiceLabelByComponentName.containsKey(connectionServiceDefault)) {
- Log.wtf(LOG_TAG, "Package manager reports built-in ConnectionService not installed: "
+ Log.w(LOG_TAG, "Package manager reports built-in ConnectionService not installed: "
+ connectionServiceDefault);
+ } else {
mConnectionServiceLabelByComponentName.put(
connectionServiceDefault,
getString(R.string.connection_service_default_label));