Make Settings robotest work with tot Robolectric
Bug: 116278591 Test: make -j RunSettingsRoboTests Change-Id: I32cb2fcf6094675f79d2fc24702ef6298a9691e4
This commit is contained in:
@@ -226,7 +226,7 @@ class SliceDataConverter {
|
||||
SliceBuilderUtils.getPreferenceController(mContext, xmlSlice);
|
||||
|
||||
// Only add pre-approved Slices available on the device.
|
||||
if (controller.isAvailable() && controller.isSliceable()) {
|
||||
if (controller.isSliceable() && controller.isAvailable()) {
|
||||
xmlSliceData.add(xmlSlice);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user