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: I95031b5aa1d19f618bc3321679015c9be76fdbea
This commit is contained in:
parent
ac6db324ef
commit
84ba46f093
2 changed files with 46 additions and 0 deletions
|
@ -762,6 +762,29 @@
|
|||
"EnableProperty": "vendor.powerhal.camerarunning",
|
||||
"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": "LAUNCH_PMU",
|
||||
"Node": "PMU_POLL",
|
||||
|
|
|
@ -731,6 +731,29 @@
|
|||
"EnableProperty": "vendor.powerhal.camerarunning",
|
||||
"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": "LAUNCH_PMU",
|
||||
"Node": "PMU_POLL",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue