[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:
@@ -51,11 +51,8 @@ public class AddDevicePreferenceController2 extends BasePreferenceController {
|
||||
|
||||
@Override
|
||||
public int getAvailabilityStatus() {
|
||||
if (!WifiDppUtils.isSupportConfiguratorQrCodeScanner(mContext, mWifiEntry)
|
||||
|| mWifiEntry.canManageSubscription()) {
|
||||
return CONDITIONALLY_UNAVAILABLE;
|
||||
}
|
||||
return AVAILABLE;
|
||||
return WifiDppUtils.isSupportConfiguratorQrCodeScanner(mContext, mWifiEntry) ? AVAILABLE
|
||||
: CONDITIONALLY_UNAVAILABLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user