Merge "Remove a use of String16::remove." am: 0529640cc0 am: c881ac71b5 am: 9853e8a94e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1704170 Change-Id: I31b89ce8b8504388deab49d9af7410f8d64b78fd
This commit is contained in:
@@ -194,7 +194,8 @@ static String16 pseudo_generate_expansion(const unsigned int length) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
result.remove(length + ext, 0);
|
||||
// Just keep the first length + ext characters
|
||||
result = String16(result, length + ext);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user