Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86447050 authored by Eric Miao's avatar Eric Miao
Browse files

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
parent 16d79829
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment