diff options
| author | 2025-03-04 14:47:58 -0800 | |
|---|---|---|
| committer | 2025-03-10 14:43:17 -0700 | |
| commit | 86447050ec9beb3869843ee57ad2662681e94fae (patch) | |
| tree | 0ae38de6d4b6b3faf7e6e7bf513fededcc21dd40 /libs/input/PointerController.cpp | |
| parent | 16d7982978cfa88c75844d267baffd38f1d94da6 (diff) | |
Make bitmap ashmem filename unique
Bug: 369619160
Flag: NONE - bug fix
Expect bitmap ashmem filename to be unique so that we could identify the
bitmaps with the same ashmem allocations. However, in the case of a same
bitmap being sent multiple times, we could end up having the same ashmem
filenames from the receiving end.
To make the filename unique, an monotonically increasing counter is used
for ashmem allocations, and is included in the filename.
Change-Id: I08a170c4dbf465766d0303bc32f761e099dc2736
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions