Merge "Add getInterface(Version|Hash) in ILights stub for test" am: 674a8f1533
Change-Id: I54a9909f331110316f124275e334abc0c4839985
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user