[task_profiles]Add MaxPerformance and PreferIdle to InputPolicy profile.
Flag: com.android.input.flags.enable_input_policy_profile Bug: 369574417 Change-Id: I7800c8a86f60a7513fdd6a4470002e6a62ede4ec
This commit is contained in:
parent
583bb0245b
commit
7f7e44cc15
1 changed files with 16 additions and 1 deletions
|
@ -15,6 +15,21 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "PreferIdle",
|
||||
"Actions": [
|
||||
{
|
||||
"Name": "WriteFile",
|
||||
"Params":
|
||||
{
|
||||
"FilePath": "/proc/vendor_sched/prefer_idle_set",
|
||||
"ProcFilePath": "/proc/vendor_sched/prefer_idle_set",
|
||||
"Value": "<pid>",
|
||||
"LogFailures": "false"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "CameraServicePerformance",
|
||||
"Actions": [
|
||||
|
@ -291,7 +306,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "InputPolicy",
|
||||
"Profiles": [ "ResetUclampGrp" ]
|
||||
"Profiles": [ "MaxPerformance", "ResetUclampGrp", "PreferIdle" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue