OSDN Git Service

Fix wrongly laid out navigation color view
authorAdrian Roos <roosa@google.com>
Thu, 15 Oct 2015 22:38:38 +0000 (15:38 -0700)
committerAdrian Roos <roosa@google.com>
Thu, 15 Oct 2015 22:39:46 +0000 (15:39 -0700)
commitfc7476da7a59f0fb7b07d6e188ae6d0b55f140b8
treefd5b65bd3ea7cb79ba50c1bcdc78c536149e5edb
parent575b629ef8e21cca5a40acaafeee7653d90956fe
Fix wrongly laid out navigation color view

The SystemUI visibility listener in DecorView
gets called between the measure and layout passes
and is therefore not allowed to change layout parameters.

This change makes sure that changes to the color view
layout parameters are applied eagerly when the insets
change instead of waiting for the views to become visible.

Bug: 24614374

Change-Id: If9df18f582163d0869c28a852c36697b1ce50621
core/java/com/android/internal/policy/PhoneWindow.java