Merge "Fix getActiveApexInfos for ApexManagerFlattenedApex"
This commit is contained in:
committed by
Android (Google) Code Review
commit
958b084b05
@@ -1031,12 +1031,17 @@ public abstract class ApexManager {
|
||||
if (files != null) {
|
||||
for (File file : files) {
|
||||
if (file.isDirectory() && !file.getName().contains("@")) {
|
||||
boolean skip = false;
|
||||
for (String skipDir : skipDirs) {
|
||||
if (file.getName().equals(skipDir)) {
|
||||
continue;
|
||||
skip = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
result.add(new ActiveApexInfo(file, Environment.getRootDirectory()));
|
||||
if (!skip) {
|
||||
result.add(
|
||||
new ActiveApexInfo(file, Environment.getRootDirectory()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user