[Wi-Fi] Apply new mock for supporting WiFi detail page for OpenRoaming feature.
Issue: Openroaming detail page have new UI Mock. Solution: Apply the mock design to rollback previous UI and add one Subcription preference. Bug: 146669261 Test: manually push API and check. Change-Id: Ie3243c9bcd371db1909834ef257c741454abec11
This commit is contained in:
@@ -55,11 +55,8 @@ public class WifiPrivacyPreferenceController2 extends BasePreferenceController i
|
||||
|
||||
@Override
|
||||
public int getAvailabilityStatus() {
|
||||
if (!mWifiManager.isConnectedMacRandomizationSupported()
|
||||
|| mWifiEntry.canManageSubscription()) {
|
||||
return CONDITIONALLY_UNAVAILABLE;
|
||||
}
|
||||
return AVAILABLE;
|
||||
return mWifiManager.isConnectedMacRandomizationSupported()
|
||||
? AVAILABLE : CONDITIONALLY_UNAVAILABLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user