OSDN Git Service

Don't remove background when resizing
authorJorim Jaggi <jjaggi@google.com>
Tue, 12 Apr 2016 01:37:20 +0000 (18:37 -0700)
committerJorim Jaggi <jjaggi@google.com>
Tue, 12 Apr 2016 18:14:14 +0000 (18:14 +0000)
commit971d8e6399d556302b52a92dd29abf44830a587c
tree57cf7391e1958b370a0420956c3765b81e7a6474
parentd7f6e7c7694305c3231a575cf709ba13075bfe48
Don't remove background when resizing

This leads to flickers, as we should not draw in a translucent way
if we didn't specify that our window is translucent, because the
renderer has some about translucency.

Instead, we should clip the backdrop content by the inverse of the
content clip rect, which is not yet implemented.

Bug: 28009524
Change-Id: Ia3f54fb83997ace863e78ff1cbe45cfb64f92f26
core/java/com/android/internal/policy/DecorView.java