Add test for multi-display cutout handling in SysUICutoutProvider
Adds a unit test to verify that `SysUICutoutProviderImpl` correctly uses the display associated with its injected `@DisplayAware` context. The test simulates a multi-display scenario by creating two instances of the provider: one for a display with a cutout and one for a display without. It then asserts that each provider returns the correct cutout information for its respective display, confirming that the behavior is dependent on the injected context. Please help fill out the survey for feedback: https://docs.google.com/forms/d/e/1FAIpQLSeKFKpHImCAqZIa_OR801cw72HQUreM2oGM25C3mKKT2tBFnw/viewform?usp=pp_url&entry.1586624956=ag/35397076 Original Change: ag/35058391 Test: ATP tests passed http://go/forrest-run/L00900030017378414 Bug: 431235865 Flag: TEST_ONLY Change-Id: I5c1d0eb36be8ee3ac07c33dd824907735995669c
Loading
Please register or sign in to comment