Merge "Add the missed call of super.onCreateView()" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
f9dc6c821f
@@ -94,6 +94,7 @@ public class WifiCallingSettings extends SettingsPreferenceFragment
|
|||||||
@Override
|
@Override
|
||||||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
||||||
Bundle savedInstanceState) {
|
Bundle savedInstanceState) {
|
||||||
|
super.onCreateView(inflater, container, savedInstanceState);
|
||||||
if (MobileNetworkUtils.isMobileNetworkUserRestricted(getActivity())) {
|
if (MobileNetworkUtils.isMobileNetworkUserRestricted(getActivity())) {
|
||||||
return new ViewStub(getActivity());
|
return new ViewStub(getActivity());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user