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

Commit 94d3a83b authored by William Escande's avatar William Escande Committed by Automerger Merge Worker
Browse files

Merge "Revert "Unregister callback on unregisterAppUid."" into tm-qpr-dev am: 59997cae

parents dde4c846 59997cae
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -620,7 +620,6 @@ public class HidDeviceService extends ProfileService {

        if (mUserUid != 0 && (uid == mUserUid || uid < Process.FIRST_APPLICATION_UID)) {
            mUserUid = 0;
            mCallback = null;
            return mHidDeviceNativeInterface.unregisterApp();
        }
        if (DBG) {
+1 −5
Original line number Diff line number Diff line
@@ -528,10 +528,6 @@ public class HidDeviceTest {
        verify(mHidDeviceNativeInterface).unregisterApp();

        mHidDeviceService.onApplicationStateChangedFromNative(mTestDevice, false);
        Assert.assertThrows(
                AssertionError.class,
                () -> verifyCallback(TIMEOUT_MS, CALLBACK_APP_UNREGISTERED, mCallbackQueue)
        );

        verifyCallback(TIMEOUT_MS, CALLBACK_APP_UNREGISTERED, mCallbackQueue);
    }
}