OSDN Git Service

Fix issue #2594388: WallpaperService doesn't always call onSurfaceDestroyed()
authorDianne Hackborn <hackbod@google.com>
Tue, 27 Apr 2010 22:54:02 +0000 (15:54 -0700)
committerDianne Hackborn <hackbod@google.com>
Tue, 27 Apr 2010 22:55:30 +0000 (15:55 -0700)
commit18ee31e89766ec78f1c25f4e307306a16fe35818
tree80124e482c75a3bd062e03c499af4bf307eedae7
parent2e4b98dcd88f14fdb35e46236ec916493c570f28
Fix issue #2594388: WallpaperService doesn't always call onSurfaceDestroyed()

Take care of the window manager destroying a surface, to report to the
app that it has been destroyed.  Make sure to perform a traversal when
becoming visible to re-create the surface if needed.

Change-Id: If3bc05e0106f90d4c3bad2d7575212667680fbc8
core/java/android/service/wallpaper/WallpaperService.java