aboutsummaryrefslogtreecommitdiffstats
path: root/anttasks/src/com
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2012-01-27 18:54:23 -0800
committerXavier Ducrohet <xav@android.com>2012-01-27 18:54:23 -0800
commitb79938741991aa6d48b28919b92c62113372d8e5 (patch)
tree4c638929573163330a21a596c413cfc82cf06991 /anttasks/src/com
parentec17a292857ccc0f458de06d055485e4eb8765be (diff)
downloadsdk-b79938741991aa6d48b28919b92c62113372d8e5.zip
sdk-b79938741991aa6d48b28919b92c62113372d8e5.tar.gz
sdk-b79938741991aa6d48b28919b92c62113372d8e5.tar.bz2
Fix issue where updated Java files don't trigger a new apk in ant.
Change-Id: Ifb914125481448c3ab6425e459c9b9e28e2fe4c4
Diffstat (limited to 'anttasks/src/com')
-rw-r--r--anttasks/src/com/android/ant/InputPath.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/anttasks/src/com/android/ant/InputPath.java b/anttasks/src/com/android/ant/InputPath.java
index 905e7bc..2299f07 100644
--- a/anttasks/src/com/android/ant/InputPath.java
+++ b/anttasks/src/com/android/ant/InputPath.java
@@ -76,7 +76,7 @@ public class InputPath {
*/
public boolean ignores(File file) {
// always ignore hidden files/folders.
- return file.getName().startsWith(".") == false;
+ return file.getName().startsWith(".");
}
/**