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

Commit 24c47165 authored by Aleksandr Lukin's avatar Aleksandr Lukin
Browse files

Fix wrong param passed in queryStatsForPackage

Bug: 318445745
Change-Id: I0a99fd2828b9413b28a7a14a105020d5f4e92ab3
Test: manual
Test: atest CtsAppSecurityHostTestCases:android.appsecurity.cts.StorageHostTest
parent 7b5f3f42
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -383,7 +383,7 @@ public class StorageStatsService extends IStorageStatsManager.Stub {
            return queryStatsForUid(volumeUuid, appInfo.uid, callingPackage);
        } else {
            // Multiple packages means we need to go manual
            final int appId = UserHandle.getUserId(appInfo.uid);
            final int appId = UserHandle.getAppId(appInfo.uid);
            final String[] packageNames = new String[] { packageName };
            final long[] ceDataInodes = new long[1];
            String[] codePaths = new String[0];