Merge "Add the USB device parameter to usb stylus feature preference provider." into udc-qpr-dev

This commit is contained in:
Vania Januar
2023-08-14 16:47:40 +00:00
committed by Android (Google) Code Review
4 changed files with 5 additions and 4 deletions

View File

@@ -157,7 +157,7 @@ public class StylusUsbFirmwareControllerTest {
when(mFeatureFactory.getStylusFeatureProvider()
.isUsbFirmwareUpdateEnabled(any())).thenReturn(true);
when(mFeatureFactory.getStylusFeatureProvider()
.getUsbFirmwareUpdatePreferences(any()))
.getUsbFirmwareUpdatePreferences(any(), any()))
.thenReturn(Collections.singletonList(mock(Preference.class)));
}
}