- Import the main_rules file and remove the copied rules
  - Set the version code and name in the apk badging
  - Build target is 8 to allow SD install, MIN-SDK is still 3
  - Fix NPE on new install
  - Remove some debug code from NBigI
This commit is contained in:
zzz
2011-06-05 22:38:35 +00:00
parent 15b9615a1c
commit 7e84451ac3
7 changed files with 72 additions and 746 deletions

View File

@@ -498,15 +498,10 @@ public class NativeBigInteger extends BigInteger {
return true;
} catch (UnsatisfiedLinkError ule) {
if (_isAndroid) {
// temp debug
// Unfortunately,
// this is not interesting on Android, it says "file not found"
// on link errors too.
warn("jbigi loadLibrary() fail", ule);
try {
System.load("/data/data/net.i2p.router/lib/libjbigi.so");
return true;
} catch (Throwable t) {
warn("jbigi load() fail", t);
}
warn("Is the file there? " + (new File("/data/data/net.i2p.router/lib/libjbigi.so")).exists());
}
return false;
}