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

Commit af9d030e authored by Eino-Ville Talvala's avatar Eino-Ville Talvala
Browse files

Camera service: Trust telephony service to forward client UIDs.

For video telephony use cases, trust callers from the telephony
service to forward the true client UID in the connect calls, so
that it can be verified for access.

Bug: 27616192
Change-Id: Icd3ff4f7c8686f74a0677f54d49579b95c69037e
parent b343e044
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -913,6 +913,7 @@ static bool isTrustedCallingUid(uid_t uid) {
    switch (uid) {
        case AID_MEDIA:        // mediaserver
        case AID_CAMERASERVER: // cameraserver
        case AID_RADIO:        // telephony
            return true;
        default:
            return false;