Fix DisplayPolicy#isOverlappingWithNavBar
The function name didn't match its logic. It only worked when win.mActivityRecord is not null. This CL fixes the logic and make the dimming window and the window with TYPE_VOICE_INTERACTION be able to be mNavBarColorWindowCandidate. Fix: 270298341 Bug: 268052229 Test: atest DisplayPolicyTests Merged-In: If216cf2f73615d82129e51fbacc326fd02cbb8f8 Change-Id: If216cf2f73615d82129e51fbacc326fd02cbb8f8 (cherry picked from commit c2e683bb)
Loading
Please register or sign in to comment