summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Zixuan Qu <zixuanqu@google.com> 2022-11-24 06:57:16 +0000
committer Zixuan Qu <zixuanqu@google.com> 2022-12-05 23:19:55 +0000
commit290b4fd61abb6040004d7c19df4ee1781d17d4c4 (patch)
tree6a8ed26118b4970dcadf32fccdf7cf9b95a27918 /libs/androidfw/StringPool.cpp
parent4dbae54d6e07b4ac34abad358be11293298b87d9 (diff)
Use VirtualInputDeviceConfig subclasses to create virtual input devices.
These config classes encapsulates the config parameters. This is to keep the argument list of createVirtualFoo APIs from growing longer every time we add new config parameters to an input device. Only shared common configurations such as product ID are held in VirtualInputDeviceConfig. Optional parameters such the sizes for touchscreen will be held by the corresponding subtypes dedicated for that input device. This way we keep what is settable for each device clear. Bug: 237537306 Test: atest CtsVirtualDevicesTestCases CtsHardwareTestCases Change-Id: I609d109891fe871367869c730ed1905be8889f89
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions