[task_profiles]Add MaxPerformance and PreferIdle to InputPolicy profile.
Flag: com.android.input.flags.enable_input_policy_profile Bug: 369574417 Change-Id: I80414f3931b93bb8b427d0d8e1b6b0c4debffea3
This commit is contained in:
parent
ea7bd38c52
commit
562f2de924
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": [
|
||||
|
@ -306,7 +321,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "InputPolicy",
|
||||
"Profiles": [ "ResetUclampGrp" ]
|
||||
"Profiles": [ "MaxPerformance", "ResetUclampGrp", "PreferIdle" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue