blob: 23ddf7d00d9102ce0a254e95de6fb6a0b32978cc [file] [log] [blame]
Etan Cohen0ca1c802014-07-07 15:35:48 -07001/*
2 * Copyright 2013 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package com.android.phone;
18
19import android.app.PendingIntent;
20import android.content.Context;
21import android.content.Intent;
22
23import com.android.phone.PhoneGlobals;
24
25public class ImsUtil {
26 private ImsUtil() {
27 }
28
29 private static boolean sImsPhoneSupported = false;
30 static {
31 PhoneGlobals app = PhoneGlobals.getInstance();
32 sImsPhoneSupported = true;
33 }
34
35 /**
36 * @return true if this device supports voice calls using the built-in SIP stack.
37 */
38 static boolean isImsPhoneSupported() {
39 return sImsPhoneSupported;
40 }
41}