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

Commit 51673a50 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix two storage measurement bugs."

parents 2cfdf62e 82add8a7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -121,6 +121,10 @@ public class Installer extends SystemService {

        if (binder != null) {
            mInstalld = IInstalld.Stub.asInterface(binder);
            try {
                invalidateMounts();
            } catch (InstallerException ignored) {
            }
        } else {
            Slog.w(TAG, "installd not found; trying again");
            BackgroundThread.getHandler().postDelayed(() -> {
+1 −1
Original line number Diff line number Diff line
@@ -222,7 +222,7 @@ public class StorageStatsService extends IStorageStatsManager.Stub {
        }

        final int userId = UserHandle.getUserId(uid);
        final int appId = UserHandle.getUserId(uid);
        final int appId = UserHandle.getAppId(uid);

        final String[] packageNames = mPackage.getPackagesForUid(uid);
        final long[] ceDataInodes = new long[packageNames.length];