From 73430547eea0fc13aa1b3e481c9297da217192c4 Mon Sep 17 00:00:00 2001 From: Rick Yiu Date: Sat, 16 Sep 2023 06:43:29 +0000 Subject: [PATCH] Disable limiting camera_hal for LAUNCH hint If auto rotation is enabled, it will trigger LAUNCH hint while camera is running if device rotates, which could limit camera_hal tasks to little cores. So, disable it first until there is a new hint for the rotation event. Bug: 297273578 Test: build pass Change-Id: I56c7e99c02502c981b453219c2da6d53b2af9b40 --- powerhint-akita.json | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/powerhint-akita.json b/powerhint-akita.json index 09be54b..659d661 100644 --- a/powerhint-akita.json +++ b/powerhint-akita.json @@ -834,30 +834,6 @@ "Type": "DoHint", "Value": "LAUNCH_PMU" }, - { - "PowerHint": "LAUNCH", - "Type": "DoHint", - "EnableProperty": "vendor.powerhal.camerarunning", - "Value": "CDCPUSET_RESTRICTED" - }, - { - "PowerHint": "LAUNCH", - "Type": "DoHint", - "EnableProperty": "vendor.powerhal.camerarunning", - "Value": "CDHIGHCPUSETCPUS_RESTRICTED" - }, - { - "PowerHint": "LAUNCH", - "Type": "DoHint", - "EnableProperty": "vendor.powerhal.camerarunning", - "Value": "CDMIDCPUSETCPUS_RESTRICTED" - }, - { - "PowerHint": "LAUNCH", - "Type": "DoHint", - "EnableProperty": "vendor.powerhal.camerarunning", - "Value": "CDMIDHIGHCPUSETCPUS_RESTRICTED" - }, { "PowerHint": "LAUNCH", "Type": "DoHint",