Implement context menu for ConnectedAccessPointPreference
1) User wants to long press ConnectedAccessPointPreference to forget network if this is a captive portal network. 2) Change context menu string Bug: 113756562 Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi Change-Id: If5c45c45fe126f627eeb53a6c1873a070ad23ae8
This commit is contained in:
@@ -54,7 +54,7 @@ public class ConnectedAccessPointPreferenceTest {
|
||||
|
||||
mContext = RuntimeEnvironment.application;
|
||||
mConnectedAccessPointPreference = new ConnectedAccessPointPreference(mAccessPoint, mContext,
|
||||
null, 0 /* iconResId */, false /* forSavedNetworks */);
|
||||
null, 0 /* iconResId */, false /* forSavedNetworks */, null /* fragment */);
|
||||
mConnectedAccessPointPreference.setOnGearClickListener(mOnGearClickListener);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user