Loading src/com/android/settings/applications/InstalledAppDetails.java +1 −1 Original line number Diff line number Diff line Loading @@ -718,7 +718,7 @@ public class InstalledAppDetails extends AppInfoBase ? R.string.storage_type_external : R.string.storage_type_internal); return context.getString(R.string.storage_summary_format, getSize(context, stats), storageType); getSize(context, stats), storageType.toString().toLowerCase()); } } Loading tests/robotests/src/com/android/settings/applications/InstalledAppDetailsTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -127,7 +127,7 @@ public final class InstalledAppDetailsTest { when(stats.getTotalBytes()).thenReturn(1L); assertThat(InstalledAppDetails.getStorageSummary(context, stats, true)) .isEqualTo("1.00B used in External storage"); .isEqualTo("1.00B used in external storage"); } @Test Loading @@ -137,7 +137,7 @@ public final class InstalledAppDetailsTest { when(stats.getTotalBytes()).thenReturn(1L); assertThat(InstalledAppDetails.getStorageSummary(context, stats, false)) .isEqualTo("1.00B used in Internal storage"); .isEqualTo("1.00B used in internal storage"); } @Test Loading Loading
src/com/android/settings/applications/InstalledAppDetails.java +1 −1 Original line number Diff line number Diff line Loading @@ -718,7 +718,7 @@ public class InstalledAppDetails extends AppInfoBase ? R.string.storage_type_external : R.string.storage_type_internal); return context.getString(R.string.storage_summary_format, getSize(context, stats), storageType); getSize(context, stats), storageType.toString().toLowerCase()); } } Loading
tests/robotests/src/com/android/settings/applications/InstalledAppDetailsTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -127,7 +127,7 @@ public final class InstalledAppDetailsTest { when(stats.getTotalBytes()).thenReturn(1L); assertThat(InstalledAppDetails.getStorageSummary(context, stats, true)) .isEqualTo("1.00B used in External storage"); .isEqualTo("1.00B used in external storage"); } @Test Loading @@ -137,7 +137,7 @@ public final class InstalledAppDetailsTest { when(stats.getTotalBytes()).thenReturn(1L); assertThat(InstalledAppDetails.getStorageSummary(context, stats, false)) .isEqualTo("1.00B used in Internal storage"); .isEqualTo("1.00B used in internal storage"); } @Test Loading