Add the USB device parameter to usb stylus feature preference provider.

Test: StylusUsbFirmwareControllerTest
Bug: 291922092
Change-Id: Ie43bceb807e18ff56d01f6e99316db6e2820383b
This commit is contained in:
Vania Januar
2023-08-02 12:17:56 +01:00
parent 270b7ef18d
commit 558d9f8750
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)));
}
}