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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user