aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorne Wuff <torne@wolfpuppy.org.uk>2014-03-02 17:00:44 +0000
committerTorne Wuff <torne@wolfpuppy.org.uk>2014-03-02 17:00:44 +0000
commitb1a4843c37bf90bebc30299d43dd940a768fa4a9 (patch)
tree3c71bee81576afdff07abda0b10e5fefef1952d0
parent4af430b3ebdd2857d4d5b3d8137562222afafb82 (diff)
downloadconnectbot-b1a4843c37bf90bebc30299d43dd940a768fa4a9.tar.gz
connectbot-b1a4843c37bf90bebc30299d43dd940a768fa4a9.tar.bz2
connectbot-b1a4843c37bf90bebc30299d43dd940a768fa4a9.zip
Work around cursor drawing bug by disabling h/w accel.
Hardware accelerated drawing (enabled by default now because of the target SDK level) doesn't support XOR, so the cursor renders as a solid block, not showing the character underneath or the shift/ctrl/alt arrows. Disable hardware acceleration for ConsoleActivity to work around this until the cursor drawing logic can be fixed. The current release version doesn't use hardware acceleration anyway, so this seems reasonable.
-rw-r--r--AndroidManifest.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 1e09bc7..87e7e18 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -75,7 +75,7 @@
<activity android:name=".ConsoleActivity" android:configChanges="keyboardHidden|orientation"
android:theme="@style/NoTitle" android:windowSoftInputMode="stateAlwaysVisible|adjustResize"
- android:launchMode="singleTop">
+ android:launchMode="singleTop" android:hardwareAccelerated="false">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />