From 1f662999e3e7cae2c46813fff2e5760328ef5dd6 Mon Sep 17 00:00:00 2001 From: Nikita Ioffe Date: Mon, 5 Jul 2021 14:29:17 +0100 Subject: [PATCH] Also populate lastUpdateMillis in ActivateFlattenedApexesIfPossible Test: m Bug: 192647837 Change-Id: I11dca132168d6a30372d7a68fe590894d3cc5ccf --- init/mount_namespace.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init/mount_namespace.cpp b/init/mount_namespace.cpp index 15252a622..2a578082b 100644 --- a/init/mount_namespace.cpp +++ b/init/mount_namespace.cpp @@ -158,7 +158,8 @@ static bool ActivateFlattenedApexesIfPossible() { auto on_activate = [&](const std::string& apex_path, const apex::proto::ApexManifest& apex_manifest) { apex_infos.emplace_back(apex_manifest.name(), apex_path, apex_path, apex_manifest.version(), - apex_manifest.versionname(), /*isFactory=*/true, /*isActive=*/true); + apex_manifest.versionname(), /*isFactory=*/true, /*isActive=*/true, + /* lastUpdateMillis= */ 0); }; for (const auto& dir : kBuiltinDirsForApexes) {