summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
authorDaniel Norman <danielnorman@google.com>2020-11-30 11:41:57 -0800
committerDaniel Norman <danielnorman@google.com>2020-12-02 11:41:53 -0800
commitac442e0398fe7344f66cbbd4d2af15b1bfdbf46b (patch)
tree4d4da7e239e222c053b5d48121dd6a88d05c0ba2 /cmds/bootanimation/BootAnimation.cpp
parentb1975c51b1d4ef7cf7dbab5e4b9bf6072947852c (diff)
parentacf29f85fdc2832e52d9dc9ee416c8835f54f132 (diff)
Merge SP1A.201130.001
Change-Id: Idcf943792aaa73080b26e2294f0569061502c85d
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
-rw-r--r--cmds/bootanimation/BootAnimation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp
index d0ff5805d110..0bddf3d9c7ad 100644
--- a/cmds/bootanimation/BootAnimation.cpp
+++ b/cmds/bootanimation/BootAnimation.cpp
@@ -616,6 +616,7 @@ bool BootAnimation::threadLoop() {
result = movie();
}
+ mCallbacks->shutdown();
eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
eglDestroyContext(mDisplay, mContext);
eglDestroySurface(mDisplay, mSurface);
@@ -702,7 +703,6 @@ void BootAnimation::checkExit() {
int exitnow = atoi(value);
if (exitnow) {
requestExit();
- mCallbacks->shutdown();
}
}