Loading cmds/installd/Android.bp +2 −2 Original line number Diff line number Diff line Loading @@ -174,7 +174,7 @@ cc_binary { // Needs to be wherever installd is as it's execed by // installd. required: ["migrate_legacy_obb_data.sh"], required: ["migrate_legacy_obb_data"], } // OTA chroot tool Loading Loading @@ -300,6 +300,6 @@ sh_binary { // Script to migrate legacy obb data. sh_binary { name: "migrate_legacy_obb_data.sh", name: "migrate_legacy_obb_data", src: "migrate_legacy_obb_data.sh", } cmds/installd/InstalldNativeService.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -3708,7 +3708,7 @@ binder::Status InstalldNativeService::migrateLegacyObbData() { ENFORCE_UID(AID_SYSTEM); // NOTE: The lint warning doesn't apply to the use of system(3) with // absolute parse and no command line arguments. if (system("/system/bin/migrate_legacy_obb_data.sh") != 0) { // NOLINT(cert-env33-c) if (system("/system/bin/migrate_legacy_obb_data") != 0) { // NOLINT(cert-env33-c) LOG(ERROR) << "Unable to migrate legacy obb data"; } Loading Loading
cmds/installd/Android.bp +2 −2 Original line number Diff line number Diff line Loading @@ -174,7 +174,7 @@ cc_binary { // Needs to be wherever installd is as it's execed by // installd. required: ["migrate_legacy_obb_data.sh"], required: ["migrate_legacy_obb_data"], } // OTA chroot tool Loading Loading @@ -300,6 +300,6 @@ sh_binary { // Script to migrate legacy obb data. sh_binary { name: "migrate_legacy_obb_data.sh", name: "migrate_legacy_obb_data", src: "migrate_legacy_obb_data.sh", }
cmds/installd/InstalldNativeService.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -3708,7 +3708,7 @@ binder::Status InstalldNativeService::migrateLegacyObbData() { ENFORCE_UID(AID_SYSTEM); // NOTE: The lint warning doesn't apply to the use of system(3) with // absolute parse and no command line arguments. if (system("/system/bin/migrate_legacy_obb_data.sh") != 0) { // NOLINT(cert-env33-c) if (system("/system/bin/migrate_legacy_obb_data") != 0) { // NOLINT(cert-env33-c) LOG(ERROR) << "Unable to migrate legacy obb data"; } Loading