summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/bootanimation/BootAnimation.h')
-rw-r--r--cmds/bootanimation/BootAnimation.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/cmds/bootanimation/BootAnimation.h b/cmds/bootanimation/BootAnimation.h
index 6ba7fd450fbb..9e6e4aa42f1c 100644
--- a/cmds/bootanimation/BootAnimation.h
+++ b/cmds/bootanimation/BootAnimation.h
@@ -32,8 +32,6 @@
#include <EGL/egl.h>
#include <GLES/gl.h>
-class SkBitmap;
-
namespace android {
class Surface;
@@ -150,6 +148,8 @@ private:
// Display event handling
class DisplayEventCallback;
+ std::unique_ptr<DisplayEventReceiver> mDisplayEventReceiver;
+ sp<Looper> mLooper;
int displayEventCallback(int fd, int events, void* data);
void processDisplayEvents();
@@ -202,8 +202,6 @@ private:
sp<TimeCheckThread> mTimeCheckThread = nullptr;
sp<Callbacks> mCallbacks;
Animation* mAnimation = nullptr;
- std::unique_ptr<DisplayEventReceiver> mDisplayEventReceiver;
- sp<Looper> mLooper;
};
// ---------------------------------------------------------------------------