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

Commit fe022c87 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add getInterface(Version|Hash) in ILights stub for test" am: 674a8f15 am: 71fff1f9

Change-Id: I804e238d174d3db8fba33ac1963bf798db2ebeda
parents a6cc3fa3 71fff1f9
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -58,6 +58,16 @@ public class LightsServiceTest {
                fakeHwLight(105, LightsManager.LIGHT_TYPE_MICROPHONE, 2)
            };
        }

        @Override
        public int getInterfaceVersion() {
            return this.VERSION;
        }

        @Override
        public String getInterfaceHash() {
            return this.HASH;
        }
    };

    private static HwLight fakeHwLight(int id, int type, int ordinal) {