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: I5040ae4893632f7f7b88cb23ad45554f17fee04c
This commit is contained in:
@@ -702,30 +702,6 @@
|
|||||||
"Duration": 5000,
|
"Duration": 5000,
|
||||||
"Value": "0"
|
"Value": "0"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"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",
|
"PowerHint": "LAUNCH",
|
||||||
"Type": "DoHint",
|
"Type": "DoHint",
|
||||||
|
Reference in New Issue
Block a user