OSDN Git Service

Fix underdraw during resizing
authorJorim Jaggi <jjaggi@google.com>
Fri, 19 May 2017 12:53:55 +0000 (14:53 +0200)
committerJorim Jaggi <jjaggi@google.com>
Fri, 19 May 2017 12:53:55 +0000 (14:53 +0200)
commit853d17d838ca53dcafabaf62f45518bbf58622c7
tree9bab37bdcaff2535058fe83453a54fdd44db021b
parent1fe60b213e464c649784124e2932435aa353a78d
Fix underdraw during resizing

Since we hide the navigation bar background during resizing, we
need to fill it with the fallback background.

This was always an issue but somehow in OC we are displaying
garbage instead of black.

Test: Open Contacts/Dialer, resize, make sure no underdraw is
happening. Also test a couple of other apps.
Fixes: 36206155

Change-Id: I6b02060ef4acf36c2529d49063a61034f9261696
core/java/com/android/internal/policy/DecorView.java
core/java/com/android/internal/widget/BackgroundFallback.java