Update App storage usage summary

- don't lowercase for Internal Storage and External Storage

Fixes: 150635477
Test: visual & robotest
Change-Id: I0b12ad5ae26fe7b0eb5e970b7945ebcd4bfed017
This commit is contained in:
Edgar Wang
2020-03-24 11:23:09 +08:00
parent c073abaf2e
commit 55ac72eec8
2 changed files with 3 additions and 3 deletions

View File

@@ -9190,9 +9190,9 @@
<!-- Summary for app storage preference -->
<string name="storage_summary_format"><xliff:g id="size" example="30.00MB">%1$s</xliff:g> used in <xliff:g id="storage_type" example="internal memory">%2$s</xliff:g></string>
<!-- Summary describing internal storage for applications [CHAR LIMIT=25] -->
<string name="storage_type_internal">Internal storage</string>
<string name="storage_type_internal">internal storage</string>
<!-- Summary describing external storage for applications [CHAR LIMIT=25] -->
<string name="storage_type_external">External storage</string>
<string name="storage_type_external">external storage</string>
<!-- Summary for data usage preference [CHAR LIMIT=15] -->
<string name="data_summary_format"><xliff:g id="size" example="30.00MB">%1$s</xliff:g> used since <xliff:g id="date" example="Jan 12">%2$s</xliff:g></string>

View File

@@ -83,7 +83,7 @@ public class AppStoragePreferenceController extends AppInfoPreferenceControllerB
: R.string.storage_type_internal);
return mContext.getString(R.string.storage_summary_format,
Formatter.formatFileSize(mContext, stats.getTotalBytes()),
storageType.toString().toLowerCase());
storageType.toString());
}
@Override