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

Commit 7631cbbe authored by Jeff Brown's avatar Jeff Brown
Browse files

Add test stubs for newly added methods.

Change-Id: I44139adebbbed1358f613fbcbfcddac6617ef5bd
parent 3ae4ac85
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -342,6 +342,12 @@ private:
        ADD_FAILURE() << "Should never be called by input reader.";
    }

    virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel,
            const sp<InputChannel>& toChannel) {
        ADD_FAILURE() << "Should never be called by input reader.";
        return 0;
    }

    virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel, bool monitor) {
        ADD_FAILURE() << "Should never be called by input reader.";
        return 0;
@@ -577,6 +583,13 @@ private:
        return result;
    }

    virtual bool hasLed(int32_t deviceId, int32_t led) const {
        return false;
    }

    virtual void setLedState(int32_t deviceId, int32_t led, bool on) {
    }

    virtual void dump(String8& dump) {
    }
};