From 9e5e89db136a2b35aeaaf4da47fc2b8b1b47d2ff Mon Sep 17 00:00:00 2001 From: Jay Shrauner Date: Sat, 6 Sep 2014 10:20:43 -0700 Subject: Use framework scheme definitions Use PhoneAccount defined values for SCHEME_{TEL, SIP, VOICEMAIL}. Bug:17398074 Change-Id: Icd841240929a7531e3c7a93021fc19f7620f2cc6 --- InCallUI/src/com/android/incallui/StatusBarNotifier.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'InCallUI/src/com/android/incallui/StatusBarNotifier.java') diff --git a/InCallUI/src/com/android/incallui/StatusBarNotifier.java b/InCallUI/src/com/android/incallui/StatusBarNotifier.java index 20cc695ce..752283646 100644 --- a/InCallUI/src/com/android/incallui/StatusBarNotifier.java +++ b/InCallUI/src/com/android/incallui/StatusBarNotifier.java @@ -29,6 +29,7 @@ import android.graphics.BitmapFactory; import android.graphics.drawable.BitmapDrawable; import android.os.Handler; import android.os.Message; +import android.telecomm.PhoneAccount; import android.text.TextUtils; import com.android.incallui.ContactInfoCache.ContactCacheEntry; @@ -395,7 +396,8 @@ public class StatusBarNotifier implements InCallPresenter.InCallStateListener { if (contactInfo.lookupUri != null) { builder.addPerson(contactInfo.lookupUri.toString()); } else if (!TextUtils.isEmpty(call.getNumber())) { - builder.addPerson(Uri.fromParts("tel", call.getNumber(), null).toString()); + builder.addPerson(Uri.fromParts(PhoneAccount.SCHEME_TEL, + call.getNumber(), null).toString()); } } -- cgit v1.2.3