aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2012-10-27 18:57:57 +0100
committerTorne (Richard Coles) <torne@google.com>2012-10-27 18:57:57 +0100
commit358b128df874166ab009240de4101dfb1665279c (patch)
tree07912ddfaaa272c268540daaec8b28fa261123a1
parent3d54a8402531d8642df9af9341d8ec699a3b1fc0 (diff)
downloadconnectbot-358b128df874166ab009240de4101dfb1665279c.tar.gz
connectbot-358b128df874166ab009240de4101dfb1665279c.tar.bz2
connectbot-358b128df874166ab009240de4101dfb1665279c.zip
Update to target API 15 (ICS 4.0.3).
This disables various compatibility features that we don't want, and allows hardware acceleration to be enabled by default on ICS (explicitly enabling it may have adverse effects on some HC devices). Also, for API 14 and above, use the DeviceDefault theme rather than explicitly using Holo, as this makes it look better with devices with manufacturer-customised themes.
-rw-r--r--AndroidManifest.xml2
-rw-r--r--project.properties2
-rw-r--r--res/values-v14/styles.xml24
3 files changed, 26 insertions, 2 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 8987195..2d02bc2 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -21,7 +21,7 @@
android:versionCode="365"
android:installLocation="auto">
- <uses-sdk android:targetSdkVersion="11" android:minSdkVersion="3" />
+ <uses-sdk android:targetSdkVersion="15" android:minSdkVersion="3" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.VIBRATE" />
diff --git a/project.properties b/project.properties
index 21aad77..7892870 100644
--- a/project.properties
+++ b/project.properties
@@ -11,4 +11,4 @@
split.density=false
proguard.config=proguard.cfg
# Project target.
-target=android-11
+target=android-15
diff --git a/res/values-v14/styles.xml b/res/values-v14/styles.xml
new file mode 100644
index 0000000..2535451
--- /dev/null
+++ b/res/values-v14/styles.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+ * ConnectBot: simple, powerful, open-source SSH client for Android
+ * Copyright 2007 Kenny Root, Jeffrey Sharkey
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<resources>
+ <style name="NoTitle" parent="android:Theme.DeviceDefault">
+ <item name="android:windowContentOverlay">@null</item>
+ </style>
+</resources>