diff --git a/OpenKeychain/build.gradle b/OpenKeychain/build.gradle index 1eb820d33..6f2e15198 100644 --- a/OpenKeychain/build.gradle +++ b/OpenKeychain/build.gradle @@ -50,6 +50,7 @@ dependencies { compile 'com.mikepenz.iconics:community-material-typeface:1.0.0@aar' compile 'com.nispok:snackbar:2.10.8' compile 'com.squareup.okhttp:okhttp:2.4.0' + compile 'net.i2p.android:client:0.7@aar' // libs as submodules compile project(':extern:openpgp-api-lib:openpgp-api') @@ -188,6 +189,7 @@ android { // Disable preDexing, causes com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000) on some systems dexOptions { preDexLibraries = false + javaMaxHeapSize = "4g" } packagingOptions { diff --git a/OpenKeychain/src/main/AndroidManifest.xml b/OpenKeychain/src/main/AndroidManifest.xml index 75d94ae69..b1bacdcbb 100644 --- a/OpenKeychain/src/main/AndroidManifest.xml +++ b/OpenKeychain/src/main/AndroidManifest.xml @@ -66,8 +66,10 @@ + "Enable Tor" "Requires Orbot to be installed" + "Enable I2P" + "Requires I2P to be installed" "Enable other proxy" "Proxy Host" "Proxy host cannot be empty" diff --git a/OpenKeychain/src/main/res/xml/proxy_prefs.xml b/OpenKeychain/src/main/res/xml/proxy_prefs.xml index 94e101cb6..2d2f0ed9c 100644 --- a/OpenKeychain/src/main/res/xml/proxy_prefs.xml +++ b/OpenKeychain/src/main/res/xml/proxy_prefs.xml @@ -5,6 +5,11 @@ android:persistent="true" android:title="@string/pref_proxy_tor_title" android:summary="@string/pref_proxy_tor_summary" /> +