Merge "adb install-multiple to also accept .fsv_sig"

This commit is contained in:
Treehugger Robot 2018-10-30 18:26:32 +00:00 committed by Gerrit Code Review
commit b10f63526a

View file

@ -392,7 +392,8 @@ int install_multiple_app(int argc, const char** argv) {
}
if (android::base::EndsWithIgnoreCase(file, ".apk") ||
android::base::EndsWithIgnoreCase(file, ".dm")) {
android::base::EndsWithIgnoreCase(file, ".dm") ||
android::base::EndsWithIgnoreCase(file, ".fsv_sig")) {
struct stat sb;
if (stat(file, &sb) != -1) total_size += sb.st_size;
first_apk = i;