Merge "[Provider Model] Remove "Advanced" from Wi-Fi hotspot settings" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-04-12 04:38:07 +00:00
committed by Android (Google) Code Review

View File

@@ -294,13 +294,4 @@ public class WifiTetherSettings extends RestrictedDashboardFragment
screen.setInitialExpandedChildrenCount(getInitialExpandedChildCount()); 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;
}
} }