made getVersion method public

This commit is contained in:
strawmanbobi
2020-04-13 23:53:25 +08:00
parent 4fc87a818a
commit 8a3069eb1f

View File

@@ -53,16 +53,16 @@ public class IRDecode {
return mInstance;
}
private String getVersion() {
return irGetVersion();
}
private IRDecode() {
String libPath = "/data/irext/libir_decoder.so";
LoggerUtil.getInstance().trace(TAG, "loading server library " + libPath);
System.load(libPath);
}
public String getVersion() {
return irGetVersion();
}
public int openFile(int category, int subCate, String fileName) {
return irOpen(category, subCate, fileName);
}