summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.h
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2019-01-02 12:14:41 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-01-02 12:14:41 -0800
commit419a2638a2f06ad87eeeb8a7a4a14158ced6fae5 (patch)
tree1020c8a85dad8860918ab316817b1bcc3356dace /cmds/bootanimation/BootAnimation.h
parentdede54a317108ae904229905382dd821600a4074 (diff)
parent05ae400a0631be0020e6144930b2ac53770c64f9 (diff)
Merge "Fix/suppress bootanimation google-explicit-constructor warnings" am: 50ee220126 am: b737b4fdb3
am: 05ae400a06 Change-Id: I2380f3e0467e1b9c4a8c36f31a2c4c8f45e893b0
Diffstat (limited to 'cmds/bootanimation/BootAnimation.h')
-rw-r--r--cmds/bootanimation/BootAnimation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/bootanimation/BootAnimation.h b/cmds/bootanimation/BootAnimation.h
index 498eebce5999..04d4f9a6fd06 100644
--- a/cmds/bootanimation/BootAnimation.h
+++ b/cmds/bootanimation/BootAnimation.h
@@ -114,7 +114,7 @@ public:
virtual void shutdown() {}
};
- BootAnimation(sp<Callbacks> callbacks);
+ explicit BootAnimation(sp<Callbacks> callbacks);
sp<SurfaceComposerClient> session() const;
@@ -128,7 +128,7 @@ private:
class TimeCheckThread : public Thread {
public:
- TimeCheckThread(BootAnimation* bootAnimation);
+ explicit TimeCheckThread(BootAnimation* bootAnimation);
virtual ~TimeCheckThread();
private:
virtual status_t readyToRun();