diff options
| author | 2024-05-05 19:17:05 +0800 | |
|---|---|---|
| committer | 2024-05-09 11:55:45 -0700 | |
| commit | 0defadf2c5504374d0e0377aa9accd33907d53cd (patch) | |
| tree | b09624bed4cc227a32ab61fe0e305fcc252c9555 /libs/androidfw/FileStream.cpp | |
| parent | 119272db6ddba3b4751aa77d81c90eae7c99d5f9 (diff) | |
Use a strongly typed LogicalDisplayId for displayId(1/n)
Currently, we use int32_t for displayId, which is not a safe type, and
it may also lead to misdefinition of types. Here, we introduce
LogicalDisplayId as a strong type for displayId and move all contents
of constants.h into LogicalDisplayId.h.
Bug: 339106983
Test: atest inputflinger_tests
Test: atest InputTests
Test: presubmit
Change-Id: I1c348d7f08524471391b21eaba938501506a7772
Signed-off-by: Linnan Li <lilinnan@xiaomi.corp-partner.google.com>
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions