adb install-multiple to also accept .fsv_sig
.fsv_sig will be fs-verity signature in PKCS#7 format. Test: adb install-multiple foo.apk foo.apk.fsv_sig Bug: 112037636 Change-Id: I4a9b2203334d4974602c7f138222ade1aa319ccb
This commit is contained in:
parent
b7d9b6a995
commit
02ef4bb190
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue