Update MainActivity.java

pull/171/head
FongMi 2 years ago
parent ba48a9c115
commit bdc674d053
  1. 5
      forcetech/src/main/java/com/gsoft/mitv/MainActivity.java

@ -24,8 +24,9 @@ public class MainActivity extends Service {
}
private void checkLibrary() throws Exception {
File cache = Path.cache("libmitv.so");
if (!cache.exists()) Path.copy(getAssets().open("libmitv.so"), cache);
String name = "libmitv.so";
File cache = Path.cache(name);
if (!cache.exists()) Path.copy(getAssets().open(name), cache);
}
@Override

Loading…
Cancel
Save