Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f53c4ca8 authored by Weng Su's avatar Weng Su
Browse files

[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
parent 75020d83
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -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;
    }
}