Camera: Bump the preview frame spacer thread priority
The preview frame spacer thread is part of the camera
critical path and any scheduling delays could contribute
to frame drops and poor UX.
Increase the respective thread priority to avoid potential
delays during buffer IPC.
Bug: 355665306
Flag: com.android.internal.camera.flags.bump_preview_frame_space_priority
Test: Camera CTS
Change-Id: Id9501f7132e8b534244ab4042e42387038177ab5
diff --git a/camera/camera_platform.aconfig b/camera/camera_platform.aconfig
index 121b9c4..1f67d2d 100644
--- a/camera/camera_platform.aconfig
+++ b/camera/camera_platform.aconfig
@@ -257,3 +257,13 @@
purpose: PURPOSE_BUGFIX
}
}
+
+flag {
+ namespace: "camera_platform"
+ name: "bump_preview_frame_space_priority"
+ description: "Increase the PreviewFrameSpacer thread priority"
+ bug: "355665306"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}