Merge "Add getInterface(Version|Hash) in ILights stub for test"

This commit is contained in:
Treehugger Robot
2020-04-09 07:49:49 +00:00
committed by Gerrit Code Review

View File

@@ -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) {