OSDN Git Service

Toggle wallpaper window flag when setting custom keyguard background
authorAdam Powell <adamp@google.com>
Fri, 11 Oct 2013 03:01:49 +0000 (20:01 -0700)
committerAdam Powell <adamp@google.com>
Fri, 11 Oct 2013 03:01:49 +0000 (20:01 -0700)
commit9471907b5b756b5220e6b50df4529147c01798dc
tree831ca8b32c22f236430610478132874d05105249
parent896a9b172627ec318f908e734941afb06cc68169
Toggle wallpaper window flag when setting custom keyguard background

Disable the wallpaper when showing a full-screen custom keyguard
background, e.g. artwork from the RemoteController. This has two nice
effects:

* The wallpaper doesn't visibly "leak" as the keyguard is dismissed
  and fades out

* We save an extra compositing/overdraw step when drawing custom
  backgrounds

Bug 11172944

Change-Id: Id635dcea6b48392f841c9c549327bccff3308c0a
packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java