summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-09-23 15:44:05 -0700
committerMathias Agopian <mathias@google.com>2009-09-23 15:49:32 -0700
commitbc7261130a51dc9f3461d3970eee1b923bcbf193 (patch)
tree8f74c3943a2582418addd8c91e0c1307fe95f733 /cmds/bootanimation/BootAnimation.h
parentde0dfb7b65a02d4dd74c271b558adee0973fc267 (diff)
fix [2132563] stuck in boot animation (framebuffer_device_open: Failed to create flip chain)
Diffstat (limited to 'cmds/bootanimation/BootAnimation.h')
-rw-r--r--cmds/bootanimation/BootAnimation.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds/bootanimation/BootAnimation.h b/cmds/bootanimation/BootAnimation.h
index 796077dc3e1d..afd01faeef06 100644
--- a/cmds/bootanimation/BootAnimation.h
+++ b/cmds/bootanimation/BootAnimation.h
@@ -37,18 +37,19 @@ class AssetManager;
// ---------------------------------------------------------------------------
-class BootAnimation : public Thread
+class BootAnimation : public Thread, public IBinder::DeathRecipient
{
public:
BootAnimation();
virtual ~BootAnimation();
- const sp<SurfaceComposerClient>& session() const;
+ sp<SurfaceComposerClient> session() const;
private:
virtual bool threadLoop();
virtual status_t readyToRun();
virtual void onFirstRef();
+ virtual void binderDied(const wp<IBinder>& who);
struct Texture {
GLint w;