Merge "Use String8/16 c_str" into main

This commit is contained in:
Tomasz Wasilczyk 2023-08-11 22:56:12 +00:00 committed by Gerrit Code Review
commit 920fe9b065

View file

@ -62,7 +62,7 @@ static android::sp<android::IBinder> getServiceAggressive() {
static void checkStatus(std::vector<std::string>& cmd, android::binder::Status status) {
if (status.isOk()) return;
std::string command = ::android::base::Join(cmd, " ");
LOG(ERROR) << "Command: " << command << " Failed: " << status.toString8().string();
LOG(ERROR) << "Command: " << command << " Failed: " << status.toString8().c_str();
exit(ENOTTY);
}