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

Skip to content
Commit eb832a8a authored by Chun-Wei Wang's avatar Chun-Wei Wang
Browse files

Fix wrong path is returned when 2 files have the same name

Before the fix, the cache is reused when 2 files have the same name.
Now the full file path is included when calculating the cache key.
This will reduce the chance of key collision. We also check if the
paths match to ensure 2 different files are never mapped to the same
cache entry.

Bug: 242639590
Test: atest PackageParserTest
Change-Id: I4d240407f6fd6de9a64f9ea46339d73202d40927
parent 8b082eae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment