]> gitweb.fperrin.net Git - Dictionary.git/commitdiff
Try to fix crash.
authorThad Hughes <thad.hughes@gmail.com>
Wed, 28 Dec 2011 06:21:45 +0000 (22:21 -0800)
committerThad Hughes <thad.hughes@gmail.com>
Wed, 28 Dec 2011 06:21:45 +0000 (22:21 -0800)
default.properties [changed from symlink to file mode: 0644]
src/com/hughes/android/dictionary/DictionaryActivity.java

deleted file mode 120000 (symlink)
index 82d8917be216021e727a80d7886e2dbb6b7fb8ed..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-project.properties
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..c1fd41ab161dea222fff980fb16659b6b2f7902a
--- /dev/null
@@ -0,0 +1,13 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system use,
+# "ant.properties", and override values to adapt the script to your
+# project structure.
+
+# Indicates whether an apk should be generated for each density.
+split.density=false
+# Project target.
+target=android-8
index 4c56e48c5592353e4630a2fd6c5dfbd452fadf9e..84497e51ac205c1b233197f2a4f5de1c0a1e3840 100644 (file)
@@ -477,7 +477,7 @@ public class DictionaryActivity extends ListActivity {
   \r
   @Override\r
   protected void onListItemClick(ListView l, View v, int row, long id) {\r
-    if (clickOpensContextMenu) {\r
+    if (clickOpensContextMenu && dictRaf != null) {\r
       openContextMenu(v);\r
     }\r
   }\r