commit | 2e05ec3235150a93a3459cd260be45f02dadbe84 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Mon Sep 30 15:57:43 2013 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Mon Sep 30 15:57:43 2013 -0700 |
tree | b0bfe66c5b570dc153c690307cb2781d77990d3a | |
parent | 8b3bc51c8f03b2877e834fb1a739eb729a7ad8a1 [diff] |
Reset insets when inset computer is removed. When an inset computer is registered with the view tree observer, we report content insets to the window manager. When an inset computer is subsequently unregistered, we must take care to clear these insets. This patch remembers whether the previously computed insets were non-empty so that it can force insets to be reset when needed. Bug: 10840662 Change-Id: I4cce5ba64cc5234b98363b025ac4bb42e64349f1