diff options
author | Yorke Lee <yorkelee@google.com> | 2015-02-27 18:13:10 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-02-27 18:13:10 -0800 |
commit | c88bdc76bf419808c2e07b69b5b0f2974100ddad (patch) | |
tree | cc603c820d9efe05d9b995e812833d39ad4b166e /src | |
parent | d3e8449f22ed0604509e6bab94aa5ba6781f87d6 (diff) |
Fix some Dialer tests
Change-Id: I46188070997ebc9b69f7d9b5a8ba9cb3c221b743
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/util/PrivilegedCallUtil.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/dialer/util/PrivilegedCallUtil.java b/src/com/android/dialer/util/PrivilegedCallUtil.java index 88adc725e..367f36566 100644 --- a/src/com/android/dialer/util/PrivilegedCallUtil.java +++ b/src/com/android/dialer/util/PrivilegedCallUtil.java @@ -32,6 +32,8 @@ import com.android.phone.common.PhoneConstants; */ public class PrivilegedCallUtil { + public static final String CALL_ACTION = Intent.ACTION_CALL_PRIVILEGED; + /** * Return an Intent for making a phone call. Scheme (e.g. tel, sip) will be determined * automatically. @@ -129,7 +131,7 @@ public class PrivilegedCallUtil { */ public static Intent getCallIntent( Uri uri, String callOrigin, PhoneAccountHandle accountHandle, int videoState) { - final Intent intent = new Intent(Intent.ACTION_CALL_PRIVILEGED, uri); + final Intent intent = new Intent(CALL_ACTION, uri); intent.putExtra(TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, videoState); if (callOrigin != null) { intent.putExtra(PhoneConstants.EXTRA_CALL_ORIGIN, callOrigin); |