Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9cdadb3 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Fix google-explicit-constructor warnings.

Bug: 28341362
Change-Id: Icd42a3b0043647fd4c094e8fe195ca0f94445de9
parent 8a414ede
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -519,7 +519,7 @@ TEST_F(SurfaceTextureClientTest, DISABLED_SurfaceTextureSyncModeWaitRetire) {
            return false;
        }
    public:
        MyThread(const sp<GLConsumer>& mST)
        explicit MyThread(const sp<GLConsumer>& mST)
            : mST(mST), mBufferRetired(false) {
            ctx = eglGetCurrentContext();
            sur = eglGetCurrentSurface(EGL_DRAW);
+2 −2
Original line number Diff line number Diff line
@@ -426,7 +426,7 @@ TEST_F(SurfaceTextureGLTest, DisconnectStressTest) {

    class ProducerThread : public Thread {
    public:
        ProducerThread(const sp<ANativeWindow>& anw):
        explicit ProducerThread(const sp<ANativeWindow>& anw):
                mANW(anw) {
        }

@@ -603,7 +603,7 @@ TEST_F(SurfaceTextureGLTest, CroppedScalingMode) {
TEST_F(SurfaceTextureGLTest, AbandonUnblocksDequeueBuffer) {
    class ProducerThread : public Thread {
    public:
        ProducerThread(const sp<ANativeWindow>& anw):
        explicit ProducerThread(const sp<ANativeWindow>& anw):
                mANW(anw),
                mDequeueError(NO_ERROR) {
        }