Merge "Remove a use of String16::remove." am: 0529640cc0 am: c881ac71b5 am: 9853e8a94e am: 05ba318dfc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1704170 Change-Id: I34c43ec45848cf0cc152033418c5de94ab5b95b8
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