commit | 27db62fa49f662c5e81ca72f08b7e70d932e7fc6 | [log] [tgz] |
---|---|---|
author | Jerry Chang <chenghsiuchang@google.com> | Wed Jun 19 11:38:29 2024 +0000 |
committer | Jerry Chang <chenghsiuchang@google.com> | Wed Sep 18 11:47:51 2024 +0000 |
tree | 4884b91826818a91cc3e3176ce289eb44f8446e8 | |
parent | ca1fefc36925b29ef2c2ad4050334b1e16db33c7 [diff] [blame] |
Apply input event profile to mitigate input latency of input threads Bug: 347122505 Flag: com.android.input.flags.enable_input_policy_profile Test: check the priority and latency of input thread in Perffeto Change-Id: I428b9e718eace0bc39f1965d98475eebe9d3aaa5
diff --git a/services/inputflinger/include/InputThread.h b/services/inputflinger/include/InputThread.h index 5e75027..fcd913d 100644 --- a/services/inputflinger/include/InputThread.h +++ b/services/inputflinger/include/InputThread.h
@@ -38,6 +38,7 @@ std::string mName; std::function<void()> mThreadWake; sp<Thread> mThread; + bool applyInputEventProfile(); }; } // namespace android