Fix broken settings tests(Round 2)
1. Mark a few as Ignore with bug number 2. Remove some tests since they are obsolete. Bug: 129159331 Test: RunSettingsRoboTests Change-Id: I801681609c31c1f824c44b49ec89d9d28c716539
This commit is contained in:
@@ -41,13 +41,18 @@ public class AddDevicePreferenceController extends BasePreferenceController {
|
||||
private AccessPoint mAccessPoint;
|
||||
private WifiManager mWifiManager;
|
||||
|
||||
public AddDevicePreferenceController(Context context, AccessPoint accessPoint) {
|
||||
public AddDevicePreferenceController(Context context) {
|
||||
super(context, KEY_ADD_DEVICE_CATEGORY);
|
||||
|
||||
mAccessPoint = accessPoint;
|
||||
mWifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE);
|
||||
}
|
||||
|
||||
public AddDevicePreferenceController init(AccessPoint accessPoint) {
|
||||
mAccessPoint = accessPoint;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getAvailabilityStatus() {
|
||||
if (WifiDppUtils.isSupportConfiguratorQrCodeScanner(mContext, mAccessPoint)) {
|
||||
|
Reference in New Issue
Block a user