[Provider Model] Remove "Advanced" from Wi-Fi hotspot settings

- Screenshot:
  https://screenshot.googleplex.com/B4vjvGdcQUL8YCR

Bug: 184907962
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiTetherSettingsTest

Change-Id: I934061c9129e77fc37381d1eba4a8107d40131eb
This commit is contained in:
Weng Su
2021-04-12 11:22:48 +08:00
parent 75020d834a
commit f53c4ca8ae

View File

@@ -294,13 +294,4 @@ public class WifiTetherSettings extends RestrictedDashboardFragment
screen.setInitialExpandedChildrenCount(getInitialExpandedChildCount());
}
}
@Override
public int getInitialExpandedChildCount() {
if (mSecurityPreferenceController != null && mSecurityPreferenceController.getSecurityType()
== SoftApConfiguration.SECURITY_TYPE_OPEN) {
return (EXPANDED_CHILD_COUNT_DEFAULT - 1);
}
return EXPANDED_CHILD_COUNT_DEFAULT;
}
}