Add the USB device parameter to usb stylus feature preference provider.
Test: StylusUsbFirmwareControllerTest Bug: 291922092 Change-Id: Ie43bceb807e18ff56d01f6e99316db6e2820383b
This commit is contained in:
@@ -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)));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user