Skip to content
Commit 9ff42bd4 authored by Tiger Huang's avatar Tiger Huang
Browse files

Refine logic about updateHideNavInputEventReceiver

The control target of navigation bar can be a non-window object. Non-
window control target will never request non-default insets state. So if
nav bar control target is not a window, we use the default visibility as
the requested visibility. This CL also obtains the behavior from the
controlling window instead of the focused window.

Fix: 154716165
Fix: 155297912
Test: atest DisplayPolicyTests
Change-Id: I34d7e0f3790a671fc89f5ef4b84d5848b94b81e4
parent 71f6afb2
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