Skip to content
Commit 2c7141ed authored by Tiger's avatar Tiger Committed by Tiger Huang
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
Bug: 268052229
Test: atest DisplayPolicyTests
Merged-In: If216cf2f73615d82129e51fbacc326fd02cbb8f8
Change-Id: If216cf2f73615d82129e51fbacc326fd02cbb8f8
(cherry picked from commit c2e683bb)
parent 0bee0bb8
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