Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c8e3560 authored by Vania Januar's avatar Vania Januar Committed by Automerger Merge Worker
Browse files

Merge "Fix @Ignored test for Stylus Usi notifications." into tm-qpr-dev am: f207b4d3

parents a5edae8e f207b4d3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -180,12 +180,12 @@ class StylusUsiPowerUiTest : SysuiTestCase() {

    @Test
    @Ignore("TODO(b/257936830): get bt address once input api available")
    fun refresh_hasConnectedBluetoothStylus_doesNotNotify() {
    fun refresh_hasConnectedBluetoothStylus_cancelsNotification() {
        whenever(inputManager.inputDeviceIds).thenReturn(intArrayOf(0))

        stylusUsiPowerUi.refresh()

        verifyNoMoreInteractions(notificationManager)
        verify(notificationManager).cancel(R.string.stylus_battery_low_percentage)
    }

    @Test