Add test for onMaximizeButtonHoverExit with null view holder
Adds a unit test to verify that calling `onMaximizeButtonHoverExit()` after the window decoration has been closed does not result in a NullPointerException. This test simulates an edge case where a hover exit event might be received after the decoration's view holder has been destroyed and nulled out, ensuring the added null check correctly prevents a crash. Please help fill out the survey for feedback: https://docs.google.com/forms/d/e/1FAIpQLSeKFKpHImCAqZIa_OR801cw72HQUreM2oGM25C3mKKT2tBFnw/viewform?usp=pp_url&entry.1586624956=ag/35402090 Original Change: ag/35041164 Test: ATP tests passed http://go/forrest-run/L96900030017382731 Bug: 431235865 Flag: TEST_ONLY Change-Id: Ia416fff098b8bf18aaf0f6d306f4b16acd9f5e4d
Loading
Please register or sign in to comment