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

Commit 9df200b5 authored by Devin Moore's avatar Devin Moore
Browse files

Update IServiceManagerNative implementation for new method

New method is checkServiceAccess, which is a way for a process to check
access permissions for another process.

Flag: EXEMPT Clients of this new functionality will be flagged
Test: atest vm_accessor_test
Bug: 358427181
Change-Id: Ia7f56ef9e888d7325f1c2f7cced0b802dc193f19
parent e50d6f1b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -133,6 +133,11 @@ class ServiceManagerProxy implements IServiceManager {
        return mServiceManager.getServiceDebugInfo();
    }

    public boolean checkServiceAccess(CallerContext callerCtx, String service,
                                      String access) throws RemoteException {
        return mServiceManager.checkServiceAccess(callerCtx, service, access);
    }

    /**
     * Same as mServiceManager but used by apps.
     *