From a034b78dfd1d8db6ee89e892994a9f0b53b14f58 Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Fri, 27 Jun 2014 13:52:29 +0000
Subject: [PATCH] Update min API to 9 (Gingerbread). API 8 (Froyo) is now less
 than 1% of active devices, and these devices are generally too low-powered to
 run I2P effectively. This allows us to move the remaining I2P jars to Java 6.

---
 AndroidManifest.xml.in            | 4 ++--
 README.txt                        | 2 +-
 project.properties                | 2 +-
 routerjars/AndroidManifest.xml.in | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/AndroidManifest.xml.in b/AndroidManifest.xml.in
index e08b3e05a..ae820a1e7 100644
--- a/AndroidManifest.xml.in
+++ b/AndroidManifest.xml.in
@@ -2,13 +2,13 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
       package="net.i2p.android.router"
       android:versionCode="0"
-      android:versionName="0.0.0-0_b0-API8"
+      android:versionName="0.0.0-0_b0-API9"
       android:installLocation="auto"
       >
     <uses-permission android:name="android.permission.INTERNET" />
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
 
-    <uses-sdk android:minSdkVersion="8"
+    <uses-sdk android:minSdkVersion="9"
               android:targetSdkVersion="19" />
 
     <application android:label="@string/app_name"
diff --git a/README.txt b/README.txt
index 7ed7625b8..20054fedb 100644
--- a/README.txt
+++ b/README.txt
@@ -34,7 +34,7 @@ Instructions:
 # target in project.properties from android-19 to andriod-x
 # where x is the API version.
 
-# I2P is configured to run on 2.2 (API 8) or higher using the
+# I2P is configured to run on 2.3 (API 9) or higher using the
 # Android Support Library, so download that as well
 # (it's under "Extras"). 
 
diff --git a/project.properties b/project.properties
index 520859816..b94417ec8 100644
--- a/project.properties
+++ b/project.properties
@@ -10,7 +10,7 @@
 # Project target.
 target=android-19
 # Must match that in AndroidManifest.xml.in
-minSdkVersion=8
+minSdkVersion=9
 # I2P router libs
 android.library.reference.1=./routerjars
 # Android Support Library
diff --git a/routerjars/AndroidManifest.xml.in b/routerjars/AndroidManifest.xml.in
index cd7a189d1..a6a9aace2 100644
--- a/routerjars/AndroidManifest.xml.in
+++ b/routerjars/AndroidManifest.xml.in
@@ -2,10 +2,10 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
       package="net.i2p.android.router"
       android:versionCode="0"
-      android:versionName="0.0.0-0_b0-API8"
+      android:versionName="0.0.0-0_b0-API9"
       android:installLocation="auto"
       >
 
-    <uses-sdk android:minSdkVersion="8" />
+    <uses-sdk android:minSdkVersion="9" />
 
 </manifest>
-- 
GitLab