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

Commit a2612aa3 authored by Roy Chou's avatar Roy Chou
Browse files

fix(#Magnification): presubmit error on WindowMagnificationManagerTest

Per b/278120809 and ag/22735382, We ignore the test case due to failure of spying for now, and the proper solution would do in future cl.

Bug: b/285017506
Test: atest WindowMagnificationManagerTest
Change-Id: Ib4a37a464b24cc75ab5ebe89531864735c22171d
Merged-In: I0cf901b40deaa8a32c28ec98e13a7f7cf7d80fca
parent 74408458
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -66,6 +66,7 @@ import com.android.server.accessibility.AccessibilityTraceManager;
import com.android.server.statusbar.StatusBarManagerInternal;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.Mockito;
@@ -294,6 +295,7 @@ public class WindowMagnificationManagerTest {
                MagnificationScaleProvider.MAX_SCALE);
    }

    @Ignore("b/278816260: We could refer to b/182561174#comment4 for solution.")
    @Test
    public void logTrackingTypingFocus_processScroll_logDuration() {
        WindowMagnificationManager spyWindowMagnificationManager = spy(mWindowMagnificationManager);