From 28382ce693c825190a271d418ea2af698e01c20f Mon Sep 17 00:00:00 2001 From: Jimmy Shiu Date: Wed, 25 Sep 2024 15:19:38 +0000 Subject: [PATCH] [task_profiles]Add MaxPerformance and PreferIdle to InputPolicy profile. Flag: com.android.input.flags.enable_input_policy_profile Bug: 369574417 Change-Id: Ia79a88addeddbada1d92d7623a7f9b3e7764c016 --- task_profiles.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/task_profiles.json b/task_profiles.json index 81e5e41f..47cada84 100644 --- a/task_profiles.json +++ b/task_profiles.json @@ -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": "", + "LogFailures": "false" + } + } + ] + }, { "Name": "CameraServicePerformance", "Actions": [ @@ -291,7 +306,7 @@ }, { "Name": "InputPolicy", - "Profiles": [ "ResetUclampGrp" ] + "Profiles": [ "MaxPerformance", "ResetUclampGrp", "PreferIdle" ] } ] }