summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorFilip Gruszczynski <gruszczy@google.com>2015-10-13 18:00:29 -0700
committerFilip Gruszczynski <gruszczy@google.com>2015-10-14 09:22:42 -0700
commit2dfcf5ce2e96073d6cb875d048684e0a074ce2b6 (patch)
tree5db36ab0dac2c569c66986a9896295d11c60c5d2 /tools/aapt2/java/JavaClassGenerator.cpp
parent9f1181e968eebcfe7f7f9cfd4e6b7b11eb4b47b4 (diff)
Keep freeform window surface translucent during resize.
Freeform window surfaces are translucent because most of the time they have shadows. During a resize we stop displaying the shadow, which might change the surface opacity from translucent to opaque. This change only happens if the activity gets recreated during the resize, as this triggers recalculation of the necessary opacity. If configuration change happens the relayout will now contain new, opaque pixel format and cause the recreation. The second blink will happen after we finish resizing, as the surface needs to become translucent again. Bug: 24668341 Change-Id: I450323276c49f176f0f6dfb3b21a5f6d742a8418
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions