Show the disclaimer for WFC emergency call limitation

The emergency calls might not work properly via wifi calling, especially
in areas with no 2G/3G coverage. Display the disclaimer for the this
limitation when a user enabled the wifi calling setting.

Test: manual - Checked that the disclaimer for emergency call limitation
is shown when changing wifi calling setting to turned on.
Test: auto - Passed EmergencyCallLimitationDisclaimerTest.
Bug: 68115846

Change-Id: I881d479c1e02525ac614c66594637a5e0347d70c
This commit is contained in:
Hao Zhang
2018-08-28 19:20:21 +09:00
committed by Hall Liu
parent f64cf23ea6
commit ec20de3eba
4 changed files with 211 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ public final class DisclaimerItemFactory {
private static List<DisclaimerItem> getDisclaimerItemList(Context context, int subId) {
List<DisclaimerItem> itemList = new ArrayList<DisclaimerItem>();
itemList.add(new LocationPolicyDisclaimer(context, subId));
itemList.add(new EmergencyCallLimitationDisclaimer(context, subId));
return itemList;
}