commit | f0d7938396c7ff2316224b70a47f085df89edd7e | [log] [tgz] |
---|---|---|
author | Yorke Lee <yorkelee@google.com> | Mon Sep 14 16:29:05 2015 -0700 |
committer | Yorke Lee <yorkelee@google.com> | Mon Sep 14 16:29:05 2015 -0700 |
tree | 063b86cfb54d7ad34d00ffe0fd37e4a3ce5a35ac | |
parent | 1ec8524b176837697958fea53bccaa25ea61dee8 [diff] |
Add utility to get voicemail uri Change-Id: I7016a85e23dbed6d4b850244ea14c311e265e02b
diff --git a/src/com/android/contacts/common/CallUtil.java b/src/com/android/contacts/common/CallUtil.java index a5587ca..1b998b5 100644 --- a/src/com/android/contacts/common/CallUtil.java +++ b/src/com/android/contacts/common/CallUtil.java
@@ -94,6 +94,13 @@ } /** + * @return Uri that directly dials a user's voicemail inbox. + */ + public static Uri getVoicemailUri() { + return Uri.fromParts(PhoneAccount.SCHEME_VOICEMAIL, "", null); + } + + /** * Determines if one of the call capable phone accounts defined supports video calling. * * @param context The context.