OSDN Git Service

Reconfigure display info. after configuration changes.
authorWale Ogunwale <ogunwale@google.com>
Fri, 22 Apr 2016 16:15:09 +0000 (09:15 -0700)
committerWale Ogunwale <ogunwale@google.com>
Fri, 22 Apr 2016 18:18:01 +0000 (11:18 -0700)
commitccdb00ccc5ce332edfdc6729ecd99ae39295b990
tree423aa2661b8e7a29682eb1abeaa151c4e581841e
parent6e685dc3c519526a0f38ec5ee9e81e1f57e0fa36
Reconfigure display info. after configuration changes.

Some of the information reported for a display is dependent on resources to do
the right calculations. For example, {@link DisplayInfo#smallestNominalAppWidth}
and company are dependent on the height and width of the status and nav bar
which change depending on the current configuration.

Bug: 28182307
Change-Id: I2ba5de4bcfb3fa3ad334e69eb192bd15f8f7ebb2
services/core/java/com/android/server/wm/WindowManagerService.java