commit | 48f80daef8363a51d6b982ad16bda393e39fbb7e | [log] [tgz] |
---|---|---|
author | Linnan Li <lilinnan@xiaomi.corp-partner.google.com> | Mon Apr 22 18:38:16 2024 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Tue Apr 23 20:41:06 2024 +0000 |
tree | 336f1ae89f6db3401e50cf7607df2270aa524dd3 | |
parent | d10195fcfe1119bc57362049c86935cea72fba4b [diff] |
Do not show pointer for disabled device We currently display the pointer for all devices that support displaying it, but there are actually some devices that are disabled and shouldn't actually have it displayed for them, here's an implementation for that. This is done by adding an enabled state to the InputDeviceInfo to determine its disabled status. Bug: 335795596 Test: atest inputflinger_tests Signed-off-by: Linnan Li <lilinnan@xiaomi.corp-partner.google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:d7c5c6d376f5eae7cbb7cce5ea12f2ba420d87ab) Merged-In: Ibdad9f8424a29d83412866eace0ef96026fb270a Change-Id: Ibdad9f8424a29d83412866eace0ef96026fb270a