summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.h
diff options
context:
space:
mode:
author Nikita Ioffe <ioffe@google.com> 2020-01-29 03:33:16 -0800
committer android-build-merger <android-build-merger@google.com> 2020-01-29 03:33:16 -0800
commitab74c5633ab22414c709e47f17c3a2c4dbc43c22 (patch)
tree448fa9689ad065b2bbe77128fd8819c433af76f2 /cmds/bootanimation/BootAnimation.h
parent2b35dbe9acd338bb46747a1e9c6c363bd289a42b (diff)
parent3d0bb1d650ac68b8ba9ff711a6255e34cc21db69 (diff)
Merge "Add a way to customize boot animation during userspace reboot"
am: 3d0bb1d650 Change-Id: I06942b4dcd8acdc70e171b814d8c10f8eafe3c50
Diffstat (limited to 'cmds/bootanimation/BootAnimation.h')
-rw-r--r--cmds/bootanimation/BootAnimation.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmds/bootanimation/BootAnimation.h b/cmds/bootanimation/BootAnimation.h
index dc19fb09ef1d..574d65e425cf 100644
--- a/cmds/bootanimation/BootAnimation.h
+++ b/cmds/bootanimation/BootAnimation.h
@@ -17,6 +17,8 @@
#ifndef ANDROID_BOOTANIMATION_H
#define ANDROID_BOOTANIMATION_H
+#include <vector>
+
#include <stdint.h>
#include <sys/types.h>
@@ -157,6 +159,7 @@ private:
bool parseAnimationDesc(Animation&);
bool preloadZip(Animation &animation);
void findBootAnimationFile();
+ bool findBootAnimationFileInternal(const std::vector<std::string>& files);
bool preloadAnimation();
void checkExit();