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

Commit 5a0e9424 authored by Himanshu Rawat's avatar Himanshu Rawat
Browse files

Revert "Modified HidHostDualModeTest as per new hid rpc call"

Revert submission 3283939

Reason for revert: b/372518178

Reverted changes: /q/submissionid:3283939

Change-Id: I34e66f424ad310dee5e96a8a3689b8cdda293b3e
parent ea483488
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -83,9 +83,6 @@ import org.mockito.MockitoAnnotations;
import org.mockito.hamcrest.MockitoHamcrest;
import org.mockito.stubbing.Answer;

import pandora.HIDGrpc;
import pandora.HidProto.HidServiceType;
import pandora.HidProto.ServiceRequest;
import pandora.HostProto.AdvertiseRequest;
import pandora.HostProto.OwnAddressType;

@@ -109,7 +106,6 @@ public class HidHostDualModeTest {
            InstrumentationRegistry.getInstrumentation().getTargetContext();
    private final BluetoothAdapter mAdapter =
            mContext.getSystemService(BluetoothManager.class).getAdapter();
    private HIDGrpc.HIDBlockingStub mHidBlockingStub;

    @Rule(order = 0)
    public final CheckFlagsRule mCheckFlagsRule = DeviceFlagsValueProvider.createCheckFlagsRule();
@@ -276,11 +272,6 @@ public class HidHostDualModeTest {
        mAdapter.getProfileProxy(mContext, mProfileServiceListener, BluetoothProfile.HEADSET);
        BluetoothHeadset hfpService =
                (BluetoothHeadset) verifyProfileServiceConnected(BluetoothProfile.HEADSET);
        mHidBlockingStub = mBumble.hidBlocking();
        mHidBlockingStub.registerService(
                ServiceRequest.newBuilder()
                        .setServiceType(HidServiceType.SERVICE_TYPE_BOTH)
                        .build());

        AdvertiseRequest request =
                AdvertiseRequest.newBuilder()