Rename snapshotProfile to createProfileSnapshot for better consistency
Test: installd_dexopt_test
Bug: 30934496
Change-Id: I051b29e7b545ed8d9a177b6e70d653eb0ae8e020
diff --git a/cmds/installd/dexopt.cpp b/cmds/installd/dexopt.cpp
index beffe00..fd4eef3 100644
--- a/cmds/installd/dexopt.cpp
+++ b/cmds/installd/dexopt.cpp
@@ -2399,7 +2399,7 @@
}
}
-bool snapshot_profile(int32_t app_id, const std::string& package_name,
+bool create_profile_snapshot(int32_t app_id, const std::string& package_name,
const std::string& code_path) {
int app_shared_gid = multiuser_get_shared_gid(/*user_id*/ 0, app_id);