Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 324d6500 authored by Chris Antol's avatar Chris Antol Committed by Android (Google) Code Review
Browse files

Merge "Storage Apps Lists SPA migration" into main

parents 080276b4 1a85659e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)