diff options
| author | Raphael <raphael@google.com> | 2009-11-03 09:40:55 -0800 |
|---|---|---|
| committer | Raphael <raphael@google.com> | 2009-11-03 09:40:55 -0800 |
| commit | 5694c5984d855f2c454ae50022b311d66f5c849c (patch) | |
| tree | ad0ce07549cd33cf8028fd59094c56378a1716f2 /jarutils/src | |
| parent | 2abca6a11094c48f031997ef1dc91de6bde6d457 (diff) | |
| download | sdk-5694c5984d855f2c454ae50022b311d66f5c849c.zip sdk-5694c5984d855f2c454ae50022b311d66f5c849c.tar.gz sdk-5694c5984d855f2c454ae50022b311d66f5c849c.tar.bz2 | |
SDK: fix build. checkFileForPackaging is used by ApkBuilder.
Change-Id: I91e9c63adcd6e069b1ec15627b95565c26cd3bc6
Reference: Change If0d0751e
SDK BUG 2233458
Diffstat (limited to 'jarutils/src')
| -rw-r--r-- | jarutils/src/com/android/jarutils/JavaResourceFilter.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jarutils/src/com/android/jarutils/JavaResourceFilter.java b/jarutils/src/com/android/jarutils/JavaResourceFilter.java index 51f4990..723a213 100644 --- a/jarutils/src/com/android/jarutils/JavaResourceFilter.java +++ b/jarutils/src/com/android/jarutils/JavaResourceFilter.java @@ -87,7 +87,8 @@ public class JavaResourceFilter implements IZipEntryFilter { * @param extension the extension of the file (excluding '.') * @return true if the file should be packaged as standard java resources. */ - private static boolean checkFileForPackaging(String fileName, String extension) { + public static boolean checkFileForPackaging(String fileName, String extension) { + // Note: this method is used by ApkBuilder return "aidl".equalsIgnoreCase(extension) == false && // Aidl files "java".equalsIgnoreCase(extension) == false && // Java files "class".equalsIgnoreCase(extension) == false && // Java class files |
