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: I0cf901b40deaa8a32c28ec98e13a7f7cf7d80fca
Merged-In: I0cf901b40deaa8a32c28ec98e13a7f7cf7d80fca
(cherry picked from commit 04fe679097)
This commit is contained in:
Daniel Hsieh
2023-04-19 05:14:47 +00:00
committed by Roy Chou
parent 80ed45a7a0
commit 777235276f

View File

@@ -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;
@@ -307,6 +308,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);