powerhint: relax the cap when camera exit

Camera hints was canceled at activityStop and applied the rule for
a while after LAUNCH hint, exten the LAUNCH HINT to fix it.

Bug: 255927500
Test: build and launch/exit camera
Change-Id: I823eead362aa32b5544f9cf51f1132ecfbf23c78
This commit is contained in:
Kyle Lin 2022-11-14 12:23:50 +08:00
parent c3d2526429
commit ac42ae0129

View file

@ -675,6 +675,29 @@
"EnableProperty": "vendor.powerhal.camerarunning", "EnableProperty": "vendor.powerhal.camerarunning",
"Value": "CDMIDHIGHCPUSETCPUS_RESTRICTED" "Value": "CDMIDHIGHCPUSETCPUS_RESTRICTED"
}, },
{
"PowerHint": "LAUNCH",
"Type": "DoHint",
"Value": "LAUNCH_EXTEND"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUBigClusterMaxFreq",
"Duration": 2000,
"Value": "9999999"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUMidClusterMaxFreq",
"Duration": 2000,
"Value": "9999999"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPULittleClusterMaxFreq",
"Duration": 2000,
"Value": "9999999"
},
{ {
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq", "Node": "MemFreq",