Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d018cc3 authored by Victor Hsieh's avatar Victor Hsieh Committed by android-build-merger
Browse files

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

am: b10f6352

Change-Id: Ifc16f53016097e4af8bb9a89301c1ffb47930f57
parents bc2a0e30 b10f6352
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;