OSDN Git Service

Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN
authorMark Renouf <mrenouf@google.com>
Thu, 5 Jan 2017 17:44:50 +0000 (12:44 -0500)
committerMark Renouf <mrenouf@google.com>
Thu, 5 Jan 2017 18:52:59 +0000 (13:52 -0500)
commit9b32a35aa7d47d39da919e777e2fe271cc83fa1c
treeb3825abb8cbf398924417431ffcbcbfd03e64e6b
parentb60eb1a85406e74b3e920dba41ebb63d5be3e2c0
Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN

In some cases (e.g. Android Wear) SystemWindowInsets can be non-zero
due to overscan layout hints even when no SystemUI is present.

This change resepects the overscan flag on input method windows
allowing an IME to opt-out of the navigation bar guard and receive
full-height content view.

BUG: 32700226
Change-Id: Ic38f204a892bf34e8dae65990d5aa8c95af555d8
core/java/com/android/internal/policy/DecorView.java