Refactored cell broadcast area info support

Area info cell broadcast messages are not handled
by cell broadcast receiver anymore. Instead, they will
be processed in cell broadcast service. Privileged apps
that are interested in getting the information will need
to get it directly from cell broadcast service.

Note this is only enabled for certain countries and carriers.

Test: Manual
Bug: 141318859
Change-Id: If6a0a0c6a76e8b90a8feaea1e2771993e2d0edfe
This commit is contained in:
Jack Yu
2020-01-30 00:04:06 -08:00
parent f38bff9e0b
commit c4da22a2ce
3 changed files with 112 additions and 30 deletions

View File

@@ -74,6 +74,12 @@ public class SimStatusDialogFragment extends InstrumentedDialogFragment {
return builder.setView(mRootView).create();
}
@Override
public void onDestroy() {
mController.deinitialize();
super.onDestroy();
}
public void removeSettingFromScreen(int viewId) {
final View view = mRootView.findViewById(viewId);
if (view != null) {