> [app-installers/src/common/external_mount.cc:44]: (performance) Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant.
Change-Id: I4c3308a7d163987c158a4ff12a6c18770edd4212
LOG(WARNING) << "External storage (SD Card) is not mounted.";
return false;
}
- std::string storage = QueryStorageForPkgId(pkgid_.c_str(), uid_);
+ std::string storage = QueryStorageForPkgId(pkgid_, uid_);
if (storage != kInstalledExternally)
return false;