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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user