Rename snapshotProfile to createProfileSnapshot for better consistency
Test: installd_dexopt_test
Bug: 30934496
(cherry picked from commit c41dac27c540971d8877911d6a3908af2046c9eb)
Change-Id: I5ef302ef714d47150790e3a97a9d0c0bbf36adc3
diff --git a/cmds/installd/dexopt.cpp b/cmds/installd/dexopt.cpp
index 8917684..88edd0a 100644
--- a/cmds/installd/dexopt.cpp
+++ b/cmds/installd/dexopt.cpp
@@ -2310,7 +2310,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);