summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2012-09-13 13:14:14 -0700
committerCraig Mautner <cmautner@google.com>2012-09-13 13:14:14 -0700
commit7eac0f557cd87486d0f10b7c72e25aeb195a4351 (patch)
treed80025b4a0758f4a7f6cb817314667ac3b01277a /libs
parent5c0e78c445ed4b12fec295f1c7f0799d1e79bf72 (diff)
downloadframeworks_base-7eac0f557cd87486d0f10b7c72e25aeb195a4351.zip
frameworks_base-7eac0f557cd87486d0f10b7c72e25aeb195a4351.tar.gz
frameworks_base-7eac0f557cd87486d0f10b7c72e25aeb195a4351.tar.bz2
Propagate systemUiVisibility changes to window manager
The mAttachInfo.mSystemUiVisibility value was changing in View.dispatchAttachedToWindow but mAttachInfo.mRecomputeGlobalAttributes was not being set. Consequently ViewRootImpl.collectViewAttributes was returning without updating the subtreeSystemUiVisibility. This is fixed by calling needGlobalAttributesUpdate in dispatchAttachedToWindow. WIthin ViewRootImpl.collectViewAttributes the assignment to subtreeSystemUiVisibility was only being made if mAttachInfo.mSystemUiVisibility was changed within collectViewAttributes. But mAttachInfo.mSystemUiVisibility was changing outside of collectViewAttributes in dispatchAttachedToWindow. Consequently subtreeSystemUiVisibility was never updated. By looking for a mismatch between subtreeSystemUiVisibility and mSystemUiVisibility subtreeSystemUiVisibility gets assigned whenever it is out of sync. Fixes bug 7091817. Change-Id: I1e97a7dec14dc9594876175ae26370fb9030a8a6
Diffstat (limited to 'libs')
0 files changed, 0 insertions, 0 deletions