summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorTiger Huang <tigerhuang@google.com>2018-11-06 20:59:08 +0800
committerTiger Huang <tigerhuang@google.com>2018-11-06 21:58:31 +0800
commitbc45fd23882ee5aff58adeb0feec85d935552aa6 (patch)
tree1183d74bd80279284646fbd6d7e1a137bed0e622 /tools/aapt2/java/JavaClassGenerator.cpp
parent729518824d694261a85ac3deb9fd1d7b36087216 (diff)
Fix ScreenDecorWindowTests on devices without nav bar
Navigation bar and screen decor windows would comsume the restricted frame. By the current logic, only when the device has navigation bar, app windows with SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION can extend to the unrestricted frame. So, if the device doesn't have navigation bar, app windows can never extend to the unrestricted frame (the insets won't be affected by screen decor windows). This CL removes the check about the existence of navigation bar. Bug: 119084635 Test: atest ScreenDecorWindowTests com.android.server.policy Change-Id: Ia7de52beb5b639c0c6a246bb1dfa16518c7509b1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions