Revert "[L10n fix] Use whitespace regex for splitting string by delimiter."

This reverts commit 08e18d6241.

Reason for revert: <Followup to splitting freespace string>

Change-Id: I169abdd990d94d6a04d0a500b9802ff438c21876
This commit is contained in:
Garvita Jain
2025-03-13 20:15:41 -07:00
committed by Android (Google) Code Review
parent 08e18d6241
commit 0cac1c2b43
3 changed files with 3 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ public class TopLevelStoragePreferenceControllerTest {
when(mController.getStorageManagerVolumeProvider())
.thenReturn(mStorageManagerVolumeProvider);
final String percentage = NumberFormat.getPercentInstance().format(1);
final String[] freeSpace = Formatter.formatFileSize(mContext, 0).split("\\s");
final String[] freeSpace = Formatter.formatFileSize(mContext, 0).split(" ");
final Preference preference = new Preference(mContext);
// Wait for asynchronous thread to finish, otherwise test will flake.