formalized the jni library name
This commit is contained in:
@@ -40,16 +40,14 @@ public class IRDecode {
|
|||||||
private native int irACGetSupportedWindDirection(int acMode);
|
private native int irACGetSupportedWindDirection(int acMode);
|
||||||
|
|
||||||
private static IRDecode mInstance;
|
private static IRDecode mInstance;
|
||||||
|
|
||||||
public static IRDecode getInstance() {
|
public static IRDecode getInstance() {
|
||||||
if (null == mInstance) {
|
if (null == mInstance) {
|
||||||
mInstance = new IRDecode();
|
mInstance = new IRDecode();
|
||||||
}
|
}
|
||||||
return mInstance;
|
return mInstance;
|
||||||
}
|
}
|
||||||
|
|
||||||
private IRDecode() {
|
private IRDecode() {
|
||||||
String libPath = "/data/irext/libir_decode.so";
|
String libPath = "/data/irext/libirdecode_jni.so";
|
||||||
System.out.println("loading decode library " + libPath);
|
System.out.println("loading decode library " + libPath);
|
||||||
System.load(libPath);
|
System.load(libPath);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user