diff options
author | Tiger Huang <tigerhuang@google.com> | 2020-05-01 03:27:33 +0800 |
---|---|---|
committer | Tiger Huang <tigerhuang@google.com> | 2020-05-05 03:22:33 +0800 |
commit | 9ff42bd49a27de3ac30c093c45e8c162aaf608e9 (patch) | |
tree | 2021d83b1ea0fb7865100fe4d5eb633036501794 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 71f6afb212f2546792f33fd8912db5d063d34126 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions