blob: c3d780bb3a9ca0036564e4440afa971bca8b2a43 [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
Etan Cohen0ca1c802014-07-07 15:35:48 -070019import com.android.phone.PhoneGlobals;
20
21public class ImsUtil {
Andrew Lee77527ac2014-10-21 16:57:39 -070022
Andrew Lee77527ac2014-10-21 16:57:39 -070023 private static boolean sImsPhoneSupported = false;
24
Etan Cohen0ca1c802014-07-07 15:35:48 -070025 private ImsUtil() {
26 }
27
Etan Cohen0ca1c802014-07-07 15:35:48 -070028 static {
29 PhoneGlobals app = PhoneGlobals.getInstance();
30 sImsPhoneSupported = true;
31 }
32
33 /**
34 * @return true if this device supports voice calls using the built-in SIP stack.
35 */
36 static boolean isImsPhoneSupported() {
37 return sImsPhoneSupported;
Andrew Lee77527ac2014-10-21 16:57:39 -070038
39 }
Etan Cohen0ca1c802014-07-07 15:35:48 -070040}