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

Commit 53633856 authored by Cole Faust's avatar Cole Faust
Browse files

Fixes for errorprone update

When updating errorprone from 2.23.0 -> 2.32.0, more issues are found.

Bug: 253827323
Flag: EXEMPT refactor
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: I4a32dcd0bfffa109530ce0fdf439b5e801505db8
parent faa10d61
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -3325,10 +3325,10 @@ public class CallsManagerTest extends TelecomTestCase {
        Bundle extras = mock(Bundle.class);
        when(call.getIntentExtras()).thenReturn(extras);

        final int attachmentDisabledMask = ~0
                ^ CallScreeningService.CallResponse.CALL_COMPOSER_ATTACHMENT_LOCATION
                ^ CallScreeningService.CallResponse.CALL_COMPOSER_ATTACHMENT_SUBJECT
                ^ CallScreeningService.CallResponse.CALL_COMPOSER_ATTACHMENT_PRIORITY;
        final int attachmentDisabledMask = ~(
                CallScreeningService.CallResponse.CALL_COMPOSER_ATTACHMENT_LOCATION |
                CallScreeningService.CallResponse.CALL_COMPOSER_ATTACHMENT_SUBJECT |
                CallScreeningService.CallResponse.CALL_COMPOSER_ATTACHMENT_PRIORITY);
        CallScreeningService.ParcelableCallResponse response =
                mock(CallScreeningService.ParcelableCallResponse.class);
        when(response.getCallComposerAttachmentsToShow()).thenReturn(attachmentDisabledMask);