Merge "Storage Apps Lists SPA migration" into main

This commit is contained in:
Chris Antol
2023-07-26 19:00:40 +00:00
committed by Android (Google) Code Review

View File

@@ -44,7 +44,7 @@ fun ApplicationInfo.getStorageSize(): State<String> {
}
}
private fun ApplicationInfo.calculateSizeBytes(context: Context): Long? {
fun ApplicationInfo.calculateSizeBytes(context: Context): Long? {
val storageStatsManager = context.storageStatsManager
return try {
val stats = storageStatsManager.queryStatsForPackage(storageUuid, packageName, userHandle)