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

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

SchedulingPolicyService: Fix UID for cameraserver

Cameraserver has been split from mediaserver, so need to use
its UID for determining whether to grant scheduling priority
change requests.

Bug: 28246165
Change-Id: I87b96e9fe0c0c38ec994d3d2aa131668d3d66986
parent 1d66995f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ public class SchedulingPolicyService extends ISchedulingPolicyService.Stub {
        final int callingUid = Binder.getCallingUid();
        switch (callingUid) {
        case Process.AUDIOSERVER_UID: // fastcapture, fastmixer
        case Process.MEDIA_UID: // camera
        case Process.CAMERASERVER_UID: // camera high frame rate recording
            return true;
        default:
            return false;