Loading cmds/installd/dexopt.cpp +7 −0 Original line number Original line Diff line number Diff line Loading @@ -2693,6 +2693,13 @@ static bool create_boot_image_profile_snapshot(const std::string& package_name, return false; return false; } } // Return false for empty class path since it may otherwise return true below if profiles is // empty. if (classpath.empty()) { PLOG(ERROR) << "Class path is empty"; return false; } // Open and create the snapshot profile. // Open and create the snapshot profile. unique_fd snapshot_fd = open_spnashot_profile(AID_SYSTEM, package_name, profile_name); unique_fd snapshot_fd = open_spnashot_profile(AID_SYSTEM, package_name, profile_name); Loading Loading
cmds/installd/dexopt.cpp +7 −0 Original line number Original line Diff line number Diff line Loading @@ -2693,6 +2693,13 @@ static bool create_boot_image_profile_snapshot(const std::string& package_name, return false; return false; } } // Return false for empty class path since it may otherwise return true below if profiles is // empty. if (classpath.empty()) { PLOG(ERROR) << "Class path is empty"; return false; } // Open and create the snapshot profile. // Open and create the snapshot profile. unique_fd snapshot_fd = open_spnashot_profile(AID_SYSTEM, package_name, profile_name); unique_fd snapshot_fd = open_spnashot_profile(AID_SYSTEM, package_name, profile_name); Loading