[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:
@@ -41,11 +41,7 @@ public class WifiSubscriptionDetailPreferenceController2 extends BasePreferenceC
|
||||
|
||||
@Override
|
||||
public int getAvailabilityStatus() {
|
||||
if (mWifiEntry.canManageSubscription()) {
|
||||
return AVAILABLE;
|
||||
}
|
||||
|
||||
return CONDITIONALLY_UNAVAILABLE;
|
||||
return mWifiEntry.canManageSubscription() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user