commit | 8175846ed686077736c985f0ae4d236b7a4c647c | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Mon Feb 29 14:41:09 2016 +0100 |
committer | Jorim Jaggi <jjaggi@google.com> | Tue Mar 01 09:00:29 2016 +0000 |
tree | 42b8fa88fd910a5fdf814c5493886ef01ccba6fa | |
parent | 300efaa0eac384ddf9d29d0f6e5390a8a1974353 [diff] |
Fix popup window calculation for multi-window If ignoreBottomDecorations=true, the display size was extracted from the resources. However, this didn't work if the parent window was in multi-window, as all the calculations went wrong. Instead, introduce View.getWindowDisplayFrame which returns the "full" frame of the task the window is currently in, without any insets, and use that to calculate the bottom edge. Bug: 26255254 Change-Id: I8b235b335775022ae399ee082d1200aa76cc047c