From 7f7e44cc1506e331ff9541a62d1e9209ab9bd59e Mon Sep 17 00:00:00 2001 From: Jimmy Shiu Date: Wed, 25 Sep 2024 15:20:39 +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: I7800c8a86f60a7513fdd6a4470002e6a62ede4ec --- 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" ] } ] }