IPv6 addresses should not be selectable.

Disable selectable when adding ipv6 addresses to the
WifiNetworkDetailsPage.

Bug: b/37351354
Test: make RunSettingsRoboTests
Change-Id: I79bc3dcab7339df96598aa1a6505f0148f8844b0
This commit is contained in:
Sundeep Ghuman
2017-04-17 14:42:21 -07:00
parent 221f9245d6
commit 6347e1b4b8
2 changed files with 39 additions and 1 deletions

View File

@@ -301,6 +301,7 @@ public class WifiDetailPreferenceController extends PreferenceController impleme
Preference pref = new Preference(mPrefContext);
pref.setKey(ip);
pref.setTitle(ip);
pref.setSelectable(false);
mIpv6AddressCategory.addPreference(pref);
mIpv6AddressCategory.setVisible(true);
}