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

Commit abf2535b authored by Kyunglyul Hyun's avatar Kyunglyul Hyun
Browse files

Suppress warning for false positives

Test: m RUN_ERROR_PRONE=true -j
Bug: 322509603
Flag: EXTEMPT, test only
Change-Id: I718a6c5d2ac66aaae2440cde2c57270c2c4769aa
parent 115e5865
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -100,7 +100,11 @@ public class GattServiceTest {
    private GattService mService;
    @Mock private GattService.ClientMap mClientMap;
    @Mock private TransitionalScanHelper.ScannerMap mScannerMap;
    @Mock private TransitionalScanHelper.ScannerMap.App mApp;

    @SuppressWarnings("NonCanonicalType")
    @Mock
    private TransitionalScanHelper.ScannerMap.App mApp;

    @Mock private GattService.PendingIntentInfo mPiInfo;
    @Mock private PeriodicScanManager mPeriodicScanManager;
    @Mock private ScanManager mScanManager;
@@ -900,6 +904,7 @@ public class GattServiceTest {
        int connId = 1;
        ArrayList<GattDbElement> db = new ArrayList<>();

        @SuppressWarnings("NonCanonicalType")
        GattService.ClientMap.App app = mock(GattService.ClientMap.App.class);
        IBluetoothGattCallback callback = mock(IBluetoothGattCallback.class);