When offline show a list of countries with phone support.
Bug: 29105266 TODO: - Support phones UI for international travel - Selecting default country - Show operation hours for selected country Change-Id: I08a6780497dfcb9b9dc8670f2705d01df021c57b
This commit is contained in:
@@ -22,8 +22,11 @@ import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
||||
import com.android.settings.support.SupportPhone;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Feature provider for support tab.
|
||||
@@ -68,6 +71,22 @@ public interface SupportFeatureProvider {
|
||||
*/
|
||||
String getEstimatedWaitTime(Context context, @SupportType int type);
|
||||
|
||||
|
||||
/**
|
||||
* Returns a list of country codes that have phone support.
|
||||
*/
|
||||
List<String> getPhoneSupportCountryCodes();
|
||||
|
||||
/**
|
||||
* Returns a list of countries that have phone support.
|
||||
*/
|
||||
List<String> getPhoneSupportCountries();
|
||||
|
||||
/**
|
||||
* Returns a support phone for specified country.
|
||||
*/
|
||||
SupportPhone getSupportPhones(String countryCode, boolean isTollfree);
|
||||
|
||||
/**
|
||||
* Whether or not a disclaimer dialog should be displayed.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user