Skip to content
Commit c2e683bb authored by Tiger's avatar Tiger
Browse files

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
Test: atest DisplayPolicyTests
Change-Id: If216cf2f73615d82129e51fbacc326fd02cbb8f8
parent da896af6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment