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

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14140160

Change-Id: I97d797de91a6bab291e864f4754b485fd6aacc21
This commit is contained in:
TreeHugger Robot
2021-04-12 05:04:37 +00:00
committed by Automerger Merge Worker

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;
}
} }