diff options
| author | 2023-02-22 17:55:28 +0800 | |
|---|---|---|
| committer | 2023-02-24 06:09:13 +0000 | |
| commit | 2c7141ed4c474d9257a7bcbbeefceb0581314d30 (patch) | |
| tree | ff825c66fd795e3c9c1e9b94aa31b9e2373f2562 /api/api_test.go | |
| parent | 0bee0bb81f73321bd69473c4650a3552ed0323ee (diff) | |
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 c2e683bb667ad359629c687fc24405ec026a86fe)
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions