From 9e27dca4bc1be09bcb1d283b2fe3ba3d49f0748b Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 4 Sep 2014 16:07:32 -0700 Subject: Use schema-specific part of uri to get emergency number. Bug: 17329632 Change-Id: Icceee211aa9c50d406b53dc1e6c2f8ea4f827644 --- InCallUI/src/com/android/incallui/CallCardPresenter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InCallUI/src/com/android/incallui/CallCardPresenter.java b/InCallUI/src/com/android/incallui/CallCardPresenter.java index 1335766b0..3bd42c568 100644 --- a/InCallUI/src/com/android/incallui/CallCardPresenter.java +++ b/InCallUI/src/com/android/incallui/CallCardPresenter.java @@ -273,7 +273,7 @@ public class CallCardPresenter extends Presenter (TelecommManager) mContext.getSystemService(Context.TELECOMM_SERVICE); PhoneAccount account = mgr.getPhoneAccount(accountHandle); if (account != null) { - return account.getSubscriptionNumber(); + return getNumberFromHandle(account.getSubscriptionAddress()); } } return null; -- cgit v1.2.3