commit | db8e106fa35ca75f4a8bf9795edc7676fbf8e003 | [log] [tgz] |
---|---|---|
author | Andrii Kulian <akulian@google.com> | Tue Nov 15 18:30:27 2016 -0800 |
committer | Andrii Kulian <akulian@google.com> | Wed Nov 16 05:04:03 2016 +0000 |
tree | 92c6ea8472e8df063c6fe3458abe283d4c32d1ae | |
parent | 3bfef0186464eea5877f6e5cb10621f9bc5bb4dc [diff] |
Don't include sysUI insets on secondary displays Currently there is a single instance of WindowManagerPolicy used in Window Manager and it is configured according to primary display settings. Because of that it reports display size with navigation bar insets even for secondary displays. This CL adds displayId param, so it can adjust reported metrics correctly when requested. Bug: 32910901 Test: android.display.cts.DisplayTest Change-Id: I14967fc13907c4fde17aed6a769d03cbde3ec1be