Migrate from android::String isEmpty to empty
Bug: 295394788 Test: make checkbuild Change-Id: I66604d41926df012fd5834e74818f3179b77eb02
This commit is contained in:
parent
37fb2fe77d
commit
ad5787ada5
3 changed files with 3 additions and 3 deletions
|
@ -82,7 +82,7 @@ String8 sessionIdToString(const CasSessionId &sessionId) {
|
|||
for (size_t i = 0; i < sessionId.size(); i++) {
|
||||
result.appendFormat("%02x ", sessionId[i]);
|
||||
}
|
||||
if (result.isEmpty()) {
|
||||
if (result.empty()) {
|
||||
result.append("(null)");
|
||||
}
|
||||
return result;
|
||||
|
|
|
@ -81,7 +81,7 @@ String8 sessionIdToString(const CasSessionId& sessionId) {
|
|||
for (size_t i = 0; i < sessionId.size(); i++) {
|
||||
result.appendFormat("%02x ", sessionId[i]);
|
||||
}
|
||||
if (result.isEmpty()) {
|
||||
if (result.empty()) {
|
||||
result.append("(null)");
|
||||
}
|
||||
return result;
|
||||
|
|
|
@ -108,7 +108,7 @@ String8 sessionIdToString(const CasSessionId& sessionId) {
|
|||
for (size_t i = 0; i < sessionId.size(); i++) {
|
||||
result.appendFormat("%02x ", sessionId[i]);
|
||||
}
|
||||
if (result.isEmpty()) {
|
||||
if (result.empty()) {
|
||||
result.append("(null)");
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue