formalized the jni library name

This commit is contained in:
strawmanbobi
2025-10-22 12:21:34 +08:00
parent be8cb0edd2
commit 56a4ee17ef

View File

@@ -40,16 +40,14 @@ public class IRDecode {
private native int irACGetSupportedWindDirection(int acMode);
private static IRDecode mInstance;
public static IRDecode getInstance() {
if (null == mInstance) {
mInstance = new IRDecode();
}
return mInstance;
}
private IRDecode() {
String libPath = "/data/irext/libir_decode.so";
String libPath = "/data/irext/libirdecode_jni.so";
System.out.println("loading decode library " + libPath);
System.load(libPath);
}