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

Commit 5ff35d47 authored by Sam Dubey's avatar Sam Dubey
Browse files

Revert "Return null if all PermissionInfos are filtered"

This reverts commit e5ebab1d.

Reason for revert: Breaking GtsPermissionControllerHostTestCases and CtsBackupTestCases

Bug: 228910138
Bug: 228910442

Change-Id: I0abd6f9be97f5b1d7d2320a961b8803688665928
parent e5ebab1d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -583,7 +583,7 @@ public class PermissionManagerServiceImpl implements PermissionManagerServiceInt
        final int callingUserId = UserHandle.getUserId(callingUid);
        out.removeIf(it -> mPackageManagerInt.filterAppAccess(it.packageName, callingUid,
                callingUserId));
        return out.isEmpty() ? null : out;
        return out;
    }

    @Override