SDK: fix build. checkFileForPackaging is used by ApkBuilder.
Change-Id: I91e9c63adcd6e069b1ec15627b95565c26cd3bc6 Reference: Change If0d0751e SDK BUG 2233458
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user